OfficeIMO

API Reference

Command

Get-OfficeWordRepeatingSection

Namespace PSWriteOffice
Inputs
OfficeIMO.Word.WordDocument
Outputs
OfficeIMO.Word.WordRepeatingSection

Gets repeating section content controls from a Word document.

Remarks

Gets repeating section content controls from a Word document.

Examples

List repeating section controls.


PS>Get-OfficeWordRepeatingSection -Path .\Report.docx
        

Returns all repeating section controls in the document.

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.

Syntax

Get-OfficeWordRepeatingSection [-Alias <String[]>] -InputPath <String> [-Tag <String[]>] [<CommonParameters>]
#
Parameter set: Path

Parameters

Alias String[] optionalposition: namedpipeline: False
Filter by repeating section alias (wildcards supported).
InputPath String requiredposition: 0pipeline: Falsealiases: FilePath, Path
Path to the .docx file.
Tag String[] optionalposition: namedpipeline: False
Filter by repeating section tag (wildcards supported).

Outputs

OfficeIMO.Word.WordRepeatingSection

Get-OfficeWordRepeatingSection [-Alias <String[]>] -Document <WordDocument> [-Tag <String[]>] [<CommonParameters>]
#
Parameter set: Document

Parameters

Alias String[] optionalposition: namedpipeline: False
Filter by repeating section alias (wildcards supported).
Document WordDocument requiredposition: namedpipeline: True (ByValue)
Word document to read.
Tag String[] optionalposition: namedpipeline: False
Filter by repeating section tag (wildcards supported).

Outputs

OfficeIMO.Word.WordRepeatingSection