Cmdlet
Get-OfficeWordRepeatingSection
Gets repeating section content controls from a Word document.
Syntax
Examples
Audit repeating section controls in a template.
$sections = Get-OfficeWordRepeatingSection -Path .\Template.docx -Tag 'risk-row-*'
$sections |
Select-Object -Property Alias, Tag |
Format-Table -AutoSizeFinds repeating sections used for repeatable rows in a document template.
Parameters
- -Alias String[]
- Filter by repeating section alias (wildcards supported).
- -Path String
- Path to the .docx file.
- -Tag String[]
- Filter by repeating section tag (wildcards supported).
- -Document WordDocument
- Word document to read.
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.