Cmdlet
Test-OfficePowerPoint
Inspects a live or saved presentation without changing or reopening a supplied document.
Syntax
Test-OfficePowerPoint
[-Document <PowerPointDocument>]
[-Options <Object[]>]
[<CommonParameters>]#Parameter set:
DocumentTest-OfficePowerPoint
[-Options <Object[]>]
[-Password <SecureString>]
[-Path] <String[]>
[-ThrottleLimit <Int32>]
[<CommonParameters>]#Parameter set:
PathTest-OfficePowerPoint
-LiteralPath <String[]>
[-Options <Object[]>]
[-Password <SecureString>]
[-ThrottleLimit <Int32>]
[<CommonParameters>]#Parameter set:
LiteralPathExamples
Inspect presentation files with literal names.
Get-ChildItem ./Publish -Filter *.pptx | Test-OfficePowerPointInclude feature and visual evidence for an unsaved deck.
$policy = New-OfficePowerPointInspectionOptions -Features -Visuals
Test-OfficePowerPoint -Document $deck -Options $policyParameters
- -Document PowerPointDocument
- Gets or sets a live document; omission uses the enclosing presentation block.
- -Options Object[]
- Gets or sets inspection, native format or Reader policy objects, including hashtables.
- -Password SecureString
- Gets or sets the password for opening saved presentations.
- -Path String[]
- Gets or sets input paths with provider wildcard expansion.
- -ThrottleLimit Int32
- Gets or sets the maximum number of concurrent background operations.
- -LiteralPath String[]
- Gets or sets input paths without wildcard expansion, binding FileInfo.FullName and provider PSPath.
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.