Cmdlet
Get-OfficeWordShape
Gets shapes from a document, section or paragraph.
Syntax
Get-OfficeWordShape
[-Document <WordDocument>]
[<CommonParameters>]#Parameter set:
DocumentGet-OfficeWordShape
[-Path] <String[]>
[<CommonParameters>]#Parameter set:
PathGet-OfficeWordShape
-LiteralPath <String[]>
[<CommonParameters>]#Parameter set:
LiteralPathGet-OfficeWordShape
-Section <WordSection>
[<CommonParameters>]#Parameter set:
SectionGet-OfficeWordShape
-Paragraph <WordParagraph>
[<CommonParameters>]#Parameter set:
ParagraphExamples
Example 1
Get-OfficeWordShape -Document 'Value'Example 2
Get-OfficeWordShape -LiteralPath @('C:\Path')Example 3
Get-OfficeWordShape -Paragraph 'Value'Parameters
- -Document WordDocument
- Document 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.