Cmdlet
Get-OfficeWordBookmark
Gets bookmarks, optionally by name (wildcards).
Syntax
Get-OfficeWordBookmark
[-Document <WordDocument>]
[-Name <String[]>]
[<CommonParameters>]#Parameter set:
DocumentGet-OfficeWordBookmark
[-Name <String[]>]
[-Path] <String[]>
[<CommonParameters>]#Parameter set:
PathGet-OfficeWordBookmark
-LiteralPath <String[]>
[-Name <String[]>]
[<CommonParameters>]#Parameter set:
LiteralPathExamples
Example 1
Get-OfficeWordBookmark -Name @('Name')Example 2
Get-OfficeWordBookmark -LiteralPath @('C:\Path')Example 3
Get-OfficeWordBookmark -Path @('C:\Path')Parameters
- -Document WordDocument
- Document for this inspection.
- -Name String[]
- Name 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.