Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeDocumentCapability

Module
PSWriteOffice
Inputs
System.String[]
Outputs
OfficeIMO.Reader.ReaderHandlerCapability OfficeIMO.Reader.ReaderCapabilityManifest OfficeIMO.OfficeConversionCapability OfficeIMO.Security.OfficeProtectionCapability System.String

Lists installed reading, conversion and protection capabilities from their canonical catalogs.

Syntax

Get-OfficeDocumentCapability
[-Manifest]
[-Origin <Custom|OfficeIMO>]
[-Reader <OfficeDocumentReader>]
[<CommonParameters>]
#
Parameter set: Read
Get-OfficeDocumentCapability
-Conversion
[-Executable]
[-From <String>]
[-Id <String[]>]
[-To <String>]
[<CommonParameters>]
#
Parameter set: Conversion
Get-OfficeDocumentCapability
[-AsJson]
[-AsMarkdown]
[-Format <String>]
[[-Id] <String[]>]
[-IncompleteOnly]
[-Kind <OfficeProtectionKind>]
-Protection
[<CommonParameters>]
#
Parameter set: Protection

Examples

Find executable Word-to-PDF routes and their fidelity limits.

Get-OfficeDocumentCapability -Conversion -From Word -To Pdf -Executable | Format-List *

Inspect PDF protection support.

Get-OfficeDocumentCapability -Protection -Format PDF

Parameters

-Manifest SwitchParameter optionalsets: Read
Return the Reader capability manifest instead of individual handlers.
-Origin ReaderHandlerOrigin optionalsets: Read
Return handlers supplied by OfficeIMO or registered by a caller.
Possible values: Custom, OfficeIMO
-Reader OfficeDocumentReader optionalsets: Read
Immutable caller-configured Reader registry.
-Conversion SwitchParameter requiredsets: Conversion
List conversion routes and their fidelity and support evidence.
-Executable SwitchParameter optionalsets: Conversion
Return only conversion routes implemented by this installed host.
-From String optionalsets: Conversion
Source format family or exact extension, with or without a leading dot.
-Id String[] optionalpipeline: True (ByPropertyName)sets: Conversion, Protection
Exact stable route or protection capability identifiers.
-To String optionalsets: Conversion
Destination format family or exact extension, with or without a leading dot.
-AsJson SwitchParameter optionalsets: Protection
Return the complete protection catalog as deterministic JSON, without row filters.
-AsMarkdown SwitchParameter optionalsets: Protection
Return the complete protection catalog as Markdown, without row filters.
-Format String optionalsets: Protection
Protection format identifier or family, such as PDF or DOCX.
-IncompleteOnly SwitchParameter optionalsets: Protection
Return protection rows with unsupported operations.
-Kind OfficeProtectionKind optionalsets: Protection
Protected-content mechanism.
Possible values: PasswordEncryption, RecipientEncryption, DigitalSignature, FontObfuscation, EditingRestriction, AccessDeterrence
-Protection SwitchParameter requiredsets: Protection
List password, encryption, signature and restriction support.

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.