Start-SPOSiteOpticalCharacterRecognitionBackfill
Important
Optical Character Recognition (OCR) is a pay-as-you-go feature. Running this cmdlet will incur cost for your organization.
Initiates a job to trigger the OCR process for all files for the selected site.
Syntax
Start-SPOSiteOpticalCharacterRecognitionBackfill
[-Site] <SpoSitePipeBind>
Description
This cmdlet starts a job to trigger the OCR process for files that have either never been OCR processed or have been modified since the last OCR process. This ensures all relevant content in the site is recognized and indexed for improved searchability and accessibility.
OCR backfill can only be run on OCR-enabled sites. If OCR is disabled for the site, please enable OCR before proceeding with OCR backfilling. Refer to this article for instructions on enabling OCR on the selected site.
Note
Backfilling cancellation is currently under development. Once the cmdlet is triggered, the backfilling process cannot be stopped. Disabling OCR on the selected site will not cancel the ongoing backfilling session.
Examples
EXAMPLE 1
Start-SPOSiteOpticalCharacterRecognitionBackfill -Site https://contosoenergy.sharepoint.com/sites/hr
Starts OCR process for all content that hasn't been processed before in the selected site.
Parameters
-Site
Specifies the site where OCR process should be enabled on.
Type: | SpoSitePipeBind |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |