Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Get-OfficeProtectionCapability

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Security.OfficeProtectionCapability System.String

Returns OfficeIMO's machine-readable protected-content support contract.

Syntax

Get-OfficeProtectionCapability
[-AsJson]
[-AsMarkdown]
[-Format <String>]
[[-Id] <String>]
[-IncompleteOnly]
[-Kind <OfficeProtectionKind>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

List incomplete protection capabilities.

Get-OfficeProtectionCapability -IncompleteOnly | Format-Table FormatId, Kind, Open, Create, Validate

Shows formats whose encrypted, signed, restricted, or obfuscated workflows still have unsupported operations.

Parameters

-AsJson SwitchParameter optional
Return the complete catalog as deterministic JSON. Filtering parameters cannot be combined with this switch.
-AsMarkdown SwitchParameter optional
Return the complete catalog as a Markdown table. Filtering parameters cannot be combined with this switch.
-Format String optional
Filter by format identifier or family, such as PDF, DOCX, or EML.
-Id String optionalposition: 0
Exact stable capability identifier.
-IncompleteOnly SwitchParameter optional
Return only rows with at least one unsupported operation.
-Kind OfficeProtectionKind optional
Filter by protected-content mechanism.
Possible values: PasswordEncryption, RecipientEncryption, DigitalSignature, FontObfuscation, EditingRestriction, AccessDeterrence

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.