API Reference
Command
Get-OfficeWordComboBox
Gets combo box content controls from a Word document.
Remarks
Gets combo box content controls from a Word document.
Examples
List combo box controls.
PS>Get-OfficeWordComboBox -Path .\Report.docx
Returns all combo box 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-OfficeWordComboBox [-Alias <String[]>] -InputPath <String> [-Tag <String[]>] [<CommonParameters>]#Parameter set:
PathParameters
- Alias String[]
- Filter by combo box alias (wildcards supported).
- InputPath String
- Path to the .docx file.
- Tag String[]
- Filter by combo box tag (wildcards supported).
Outputs
OfficeIMO.Word.WordComboBox
Get-OfficeWordComboBox [-Alias <String[]>] -Document <WordDocument> [-Tag <String[]>] [<CommonParameters>]#Parameter set:
DocumentParameters
- Alias String[]
- Filter by combo box alias (wildcards supported).
- Document WordDocument
- Word document to read.
- Tag String[]
- Filter by combo box tag (wildcards supported).
Outputs
OfficeIMO.Word.WordComboBox