Cmdlet
Get-OfficeWordHyperlink
Gets hyperlinks, filtered by text, URL or bookmark anchor.
Syntax
Get-OfficeWordHyperlink
[-Anchor <String[]>]
[-Document <WordDocument>]
[-Text <String[]>]
[-Url <String[]>]
[<CommonParameters>]#Parameter set:
DocumentGet-OfficeWordHyperlink
[-Anchor <String[]>]
[-Path] <String[]>
[-Text <String[]>]
[-Url <String[]>]
[<CommonParameters>]#Parameter set:
PathGet-OfficeWordHyperlink
[-Anchor <String[]>]
-LiteralPath <String[]>
[-Text <String[]>]
[-Url <String[]>]
[<CommonParameters>]#Parameter set:
LiteralPathGet-OfficeWordHyperlink
[-Anchor <String[]>]
-Section <WordSection>
[-Text <String[]>]
[-Url <String[]>]
[<CommonParameters>]#Parameter set:
SectionGet-OfficeWordHyperlink
[-Anchor <String[]>]
-Paragraph <WordParagraph>
[-Text <String[]>]
[-Url <String[]>]
[<CommonParameters>]#Parameter set:
ParagraphExamples
Example 1
Get-OfficeWordHyperlink -Anchor @('Value')Example 2
Get-OfficeWordHyperlink -LiteralPath @('C:\Path')Example 3
Get-OfficeWordHyperlink -Paragraph 'Value'Parameters
- -Anchor String[]
- Anchor for this inspection.
- -Document WordDocument
- Document for this inspection.
- -Text String[]
- Text for this inspection.
- -Url String[]
- Url for this inspection.
- -Path String[]
- Path for this inspection.
- -LiteralPath String[]
- LiteralPath for this inspection.
- -Section WordSection
- Section for this inspection.
- -Paragraph WordParagraph
- Paragraph 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.