API Reference

Cmdlet

Test-OfficePdfRewrite

Namespace PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Pdf.PdfRewritePreservationReport

Creates a proof report for user-visible signals preserved by a PDF rewrite.

Remarks

Creates a proof report for user-visible signals preserved by a PDF rewrite.

Examples

Authored help example

EXAMPLE 1


Test-OfficePdfRewrite -DifferencePath 'C:\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.

Syntax

Test-OfficePdfRewrite [-DifferencePassword <String>] -DifferencePath <String> [-FailOnLoss] [-IgnoreDifferencePermissionRestrictions] [-IgnoreReferencePermissionRestrictions] [-Options <PdfRewritePreservationOptions>] [-ReferencePassword <String>] -ReferencePath <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

DifferencePassword String optionalposition: namedpipeline: False
Password used to authenticate the rewritten PDF.
DifferencePath String requiredposition: 1pipeline: False
Rewritten PDF path.
FailOnLoss SwitchParameter optionalposition: namedpipeline: False
Throw when preservation checks find a mismatch.
IgnoreDifferencePermissionRestrictions SwitchParameter optionalposition: namedpipeline: False
After authentication, explicitly ignore restrictions on the rewritten PDF.
IgnoreReferencePermissionRestrictions SwitchParameter optionalposition: namedpipeline: False
After authentication, explicitly ignore restrictions on the original PDF.
Options PdfRewritePreservationOptions optionalposition: namedpipeline: False
Optional required preservation signals and limits.
ReferencePassword String optionalposition: namedpipeline: False
Password used to authenticate the original PDF.
ReferencePath String requiredposition: 0pipeline: False
Original PDF path.

Outputs

OfficeIMO.Pdf.PdfRewritePreservationReport