Cmdlet
Set-OfficePdfSignature
Complete external PDF signature using native byte-range and signature-placeholder operations.
Syntax
Set-OfficePdfSignature
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-SignaturePath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathSet-OfficePdfSignature
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
[-Path] <String[]>
-SignaturePath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathDirectorySet-OfficePdfSignature
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
-OutputPath <String>
[-PassThru]
[-Password <SecureString>]
-SignaturePath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathSet-OfficePdfSignature
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
-OutputDirectory <String>
[-PassThru]
[-Password <SecureString>]
-SignaturePath <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathDirectoryDescription
Confirmation precedes loading, native mutation and output creation. This command does not obtain certificates or private keys.
Examples
Example 1
Set-OfficePdfSignature -Path @('C:\Path') -OutputPath 'C:\Path' -SignaturePath 'C:\Path'Example 2
Set-OfficePdfSignature -OutputPath 'C:\Path' -SignaturePath 'C:\Path' -LiteralPath @('C:\Path')Example 3
Set-OfficePdfSignature -SignaturePath 'C:\Path' -OutputDirectory 'Value' -LiteralPath @('C:\Path')Parameters
- -IgnorePermissionRestrictions SwitchParameter
- IgnorePermissionRestrictions setting.
- -LoadOptions PdfLoadOptions
- Native parsing, authentication and resource policy.
- -OutputPath String
- Single-file destination.
- -PassThru SwitchParameter
- Return native annotation edit reports.
- -Password SecureString
- Password setting.
- -Path String[]
- Input PDF paths with wildcard expansion.
- -SignaturePath String
- SignaturePath setting.
- -WhatIf SwitchParameter
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
- -OutputDirectory String
- Batch destination retaining source names.
- -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.