Cmdlet
Get-OfficePdfImage
Lists image resources, or extracts them with -OutputDirectory.
Syntax
Get-OfficePdfImage
[-BaseName <String>]
[-IgnorePermissionRestrictions]
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-OutputDirectory <String>]
[-Page <OfficePageRange>]
[-Password <SecureString>]
[-Path] <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
PathGet-OfficePdfImage
[-BaseName <String>]
[-IgnorePermissionRestrictions]
-LiteralPath <String[]>
[-LoadOptions <PdfLoadOptions>]
[-NoClobber]
[-OutputDirectory <String>]
[-Page <OfficePageRange>]
[-Password <SecureString>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathGet-OfficePdfImage
[-BaseName <String>]
-Document <PdfDocument>
[-NoClobber]
[-OutputDirectory <String>]
[-Page <OfficePageRange>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
DocumentExamples
Example 1
Get-OfficePdfImage -Path @('C:\Path')Example 2
Get-OfficePdfImage -Document 'Value'Example 3
Get-OfficePdfImage -LiteralPath @('C:\Path')Parameters
- -BaseName String
- BaseName for PDF inspection or extraction.
- -IgnorePermissionRestrictions SwitchParameter
- IgnorePermissionRestrictions for PDF inspection or extraction.
- -LoadOptions PdfLoadOptions
- LoadOptions for PDF inspection or extraction.
- -NoClobber SwitchParameter
- NoClobber for PDF inspection or extraction.
- -OutputDirectory String
- OutputDirectory for PDF inspection or extraction.
- -Page OfficePageRange
- Page for PDF inspection or extraction.
- -Password SecureString
- Password for PDF inspection or extraction.
- -Path String[]
- Path for PDF inspection or extraction.
- -WhatIf SwitchParameter
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
- -LiteralPath String[]
- LiteralPath for PDF inspection or extraction.
- -Document PdfDocument
- Document for PDF inspection or extraction.
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.