Cmdlet
Test-OfficePdfRewrite
Creates a proof report for user-visible signals preserved by a PDF rewrite.
Syntax
Test-OfficePdfRewrite [-DifferencePassword <String>] [-DifferencePath] <String> [-FailOnLoss] [-IgnoreDifferencePermissionRestrictions] [-IgnoreReferencePermissionRestrictions] [-Options <PdfRewritePreservationOptions>] [-ReferencePassword <String>] [-ReferencePath] <String> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
EXAMPLE 1
Test-OfficePdfRewrite -ReferencePath 'C:\Path' -DifferencePath 'C:\Path'Parameters
- -DifferencePassword String
- Password used to authenticate the rewritten PDF.
- -DifferencePath String
- Rewritten PDF path.
- -FailOnLoss SwitchParameter
- Throw when preservation checks find a mismatch.
- -IgnoreDifferencePermissionRestrictions SwitchParameter
- After authentication, explicitly ignore restrictions on the rewritten PDF.
- -IgnoreReferencePermissionRestrictions SwitchParameter
- After authentication, explicitly ignore restrictions on the original PDF.
- -Options PdfRewritePreservationOptions
- Optional required preservation signals and limits.
- -ReferencePassword String
- Password used to authenticate the original PDF.
- -ReferencePath String
- Original PDF path.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.