Cmdlet
Get-OfficeWordDatePicker
Gets date picker content controls from a Word document.
Syntax
Examples
Find date picker controls used by a form.
$dates = Get-OfficeWordDatePicker -Path .\IntakeForm.docx -Tag 'deadline-*'
$dates |
Select-Object -Property Alias, Tag |
Format-Table -AutoSizeFilters date picker content controls by tag before a form validation pass.
Parameters
- -Alias String[]
- Filter by date picker alias (wildcards supported).
- -Path String
- Path to the .docx file.
- -Tag String[]
- Filter by date picker 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.