Cmdlet
Get-OfficeWordPictureControl
Gets picture content controls from a Word document.
Syntax
Examples
Find picture placeholder controls.
$pictures = Get-OfficeWordPictureControl -Path .\Template.docx -Tag 'logo-*'
$pictures |
Select-Object -Property Alias, Tag |
Format-Table -AutoSizeFilters picture content controls used as image placeholders in a Word template.
Parameters
- -Alias String[]
- Filter by picture control alias (wildcards supported).
- -Path String
- Path to the .docx file.
- -Tag String[]
- Filter by picture control 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.