Cmdlet
Get-OfficePdfRedactionPlan
Previews explicit, literal-text or bounded regular-expression redaction selections without changing PDF content.
Syntax
Get-OfficePdfRedactionPlan
[-CaseSensitive]
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
[-Path] <String[]>
-Text <String[]>
[<CommonParameters>]#Parameter set:
TextGet-OfficePdfRedactionPlan
[-CaseSensitive]
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
[-Path] <String[]>
-Pattern <String[]>
[<CommonParameters>]#Parameter set:
PatternGet-OfficePdfRedactionPlan
-Area <PdfRedactionArea[]>
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
[-Path] <String[]>
[<CommonParameters>]#Parameter set:
AreaGet-OfficePdfRedactionPlan
-Height <OfficeLength>
[-IgnorePermissionRestrictions]
[-Label <String>]
[-LoadOptions <PdfLoadOptions>]
-Page <Int32>
[-Password <SecureString>]
[-Path] <String[]>
-Width <OfficeLength>
-X <OfficeLength>
-Y <OfficeLength>
[<CommonParameters>]#Parameter set:
RectangleGet-OfficePdfRedactionPlan
[-CaseSensitive]
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
-Text <String[]>
[<CommonParameters>]#Parameter set:
TextLiteralPathGet-OfficePdfRedactionPlan
[-CaseSensitive]
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
-Pattern <String[]>
[<CommonParameters>]#Parameter set:
PatternLiteralPathGet-OfficePdfRedactionPlan
-Area <PdfRedactionArea[]>
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-Password <SecureString>]
[<CommonParameters>]#Parameter set:
AreaLiteralPathGet-OfficePdfRedactionPlan
-Height <OfficeLength>
[-IgnorePermissionRestrictions]
[-Label <String>]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
-Page <Int32>
[-Password <SecureString>]
-Width <OfficeLength>
-X <OfficeLength>
-Y <OfficeLength>
[<CommonParameters>]#Parameter set:
RectangleLiteralPathExamples
Preview sensitive identifiers.
Get-OfficePdfRedactionPlan -LiteralPath './Report[1].pdf' -Pattern 'Account: \d+'Parameters
- -CaseSensitive SwitchParameter
- CaseSensitive setting.
- -IgnorePermissionRestrictions SwitchParameter
- IgnorePermissionRestrictions setting.
- -LoadOptions PdfLoadOptions
- Native parsing, authentication and resource policy.
- -Password SecureString
- Password setting.
- -Path String[]
- Input PDF paths with wildcard expansion.
- -Text String[]
- Text setting.
- -Pattern String[]
- Pattern setting.
- -Area PdfRedactionArea[]
- Area setting.
- -Height OfficeLength
- Height setting.
- -Label String
- Label setting.
- -Page Int32
- Page setting.
- -Width OfficeLength
- Width setting.
- -X OfficeLength
- X setting.
- -Y OfficeLength
- Y setting.
- -LiteralPath String[]
- Literal input PDF paths; accepts FileInfo.FullName.
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.