Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

New-OfficePowerPointInspectionOptions

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.PowerPoint.PowerPointInspectionOptions

Chooses native presentation inspection reports without changing a document.

Syntax

New-OfficePowerPointInspectionOptions
[-Animations]
[-Features]
[-FileFormatVersion <OfficeOpenXmlFileFormatVersion>]
[-NoAccessibility]
[-NoPackageValidation]
[-NoPreflight]
[-ReviewComments]
[-Signatures]
[-Visuals]
[<CommonParameters>]
#
Parameter set: Default

Examples

Add feature and review inventories to a detailed inspection.

$options = New-OfficePowerPointInspectionOptions -Features -ReviewComments
Get-OfficeDocumentInfo -LiteralPath ./Review.pptx -Detailed -Options $options

Inspect accessibility on an unsaved document.

$options = New-OfficePowerPointInspectionOptions -NoPackageValidation -NoPreflight
(Get-OfficeDocumentInfo -Document $deck -Detailed -Options $options).Details.Accessibility

Parameters

-Animations SwitchParameter optional
Gets or sets whether to inspect animation metadata.
-Features SwitchParameter optional
Gets or sets whether to inventory supported and preserved features.
-FileFormatVersion OfficeOpenXmlFileFormatVersion optional
Gets or sets the Open XML version used by package validation; defaults to Microsoft 365.
Possible values: Office2007, Office2010, Office2013, Office2016, Office2019, Office2021, Microsoft365
-NoAccessibility SwitchParameter optional
Gets or sets whether to omit accessibility inspection.
-NoPackageValidation SwitchParameter optional
Gets or sets whether to omit Open XML package validation.
-NoPreflight SwitchParameter optional
Gets or sets whether to omit layout, text-fit and asset preflight.
-ReviewComments SwitchParameter optional
Gets or sets whether to inspect review comments.
-Signatures SwitchParameter optional
Gets or sets whether to inspect package signature metadata.
-Visuals SwitchParameter optional
Gets or sets whether to create PNG, SVG and snapshot proof for each slide.

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.