Cmdlet
Get-OfficeWordTableOfContents
Gets the table of contents of a document.
Syntax
Examples
Example 1
Get-OfficeWordTableOfContents -Document 'Value'Example 2
Get-OfficeWordTableOfContents -LiteralPath @('C:\Path')Example 3
Get-OfficeWordTableOfContents -Path @('C:\Path')Parameters
- -Document WordDocument
- Document for this inspection.
- -Path String[]
- Path for this inspection.
- -LiteralPath String[]
- LiteralPath for this inspection.
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.