Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeWordFootnote

Module
PSWriteOffice
Inputs
OfficeIMO.Word.WordDocument OfficeIMO.Word.WordSection System.String[]
Outputs
PSWriteOffice.Services.Word.WordNoteInfo

Gets footnotes of a document or section.

Syntax

Get-OfficeWordFootnote
[-Document <WordDocument>]
[<CommonParameters>]
#
Parameter set: Document
Get-OfficeWordFootnote
[-Path] <String[]>
[<CommonParameters>]
#
Parameter set: Path
Get-OfficeWordFootnote
-LiteralPath <String[]>
[<CommonParameters>]
#
Parameter set: LiteralPath
Get-OfficeWordFootnote
-Section <WordSection>
[<CommonParameters>]
#
Parameter set: Section

Examples

Example 1

Get-OfficeWordFootnote -Document 'Value'

Example 2

Get-OfficeWordFootnote -LiteralPath @('C:\Path')

Example 3

Get-OfficeWordFootnote -Path @('C:\Path')

Parameters

-Document WordDocument optionalpipeline: True (ByValue)sets: Document
Document for this inspection.
-Path String[] requiredposition: 0pipeline: True (ByValue)sets: Path
Path for this inspection.
-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath
LiteralPath for this inspection.
-Section WordSection requiredpipeline: True (ByValue)sets: Section
Section 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.

Outputs

PSWriteOffice.Services.Word.WordNoteInfo: Describes a Word footnote or endnote in a document-safe snapshot.