# Get-OfficeWordImage

Gets images from a Word document, section, or paragraph.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

Aliases: WordImages

**Module**

`PSWriteOffice`

**Aliases**

`WordImages`

**Inputs**

`OfficeIMO.Word.WordDocument` `OfficeIMO.Word.WordParagraph` `OfficeIMO.Word.WordSection`

**Outputs**

`OfficeIMO.Word.WordImage`

**Source**

[GetOfficeWordImageCommand.cs:22](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/GetOfficeWordImageCommand.cs#L22) 

Gets images from a Word document, section, or paragraph.

## Syntax

```
Get-OfficeWordImage
[-Path] <String>
[<CommonParameters>]
```

[#](#method-get-officewordimage-string)

Parameter set: `Path`

```
Get-OfficeWordImage
-Document <WordDocument>
[<CommonParameters>]
```

[#](#method-get-officewordimage-worddocument)

Parameter set: `Document`

```
Get-OfficeWordImage
-Section <WordSection>
[<CommonParameters>]
```

[#](#method-get-officewordimage-wordsection)

Parameter set: `Section`

```
Get-OfficeWordImage
-Paragraph <WordParagraph>
[<CommonParameters>]
```

[#](#method-get-officewordimage-wordparagraph)

Parameter set: `Paragraph`

## Examples

### List images and their accessibility metadata.

```powershell
$images = Get-OfficeWordImage -Path .\Report.docx
$images |
    Select-Object -Property Title, Description, Width, Height |
    Format-Table -AutoSize
```

Reads images from a document so metadata and sizing can be reviewed before publication.

## Parameters

**-Path String requiredposition: 0aliases: FilePath, InputPathsets: Path**

Path to the document.

**-Document WordDocument requiredpipeline: True (ByValue)sets: Document**

Document to inspect.

**-Section WordSection requiredpipeline: True (ByValue)sets: Section**

Section to inspect.

**-Paragraph WordParagraph requiredpipeline: True (ByValue)sets: Paragraph**

Paragraph to inspect.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:35B627CF737C7037B3CEA73C712815956662A75207A22C1B5C01ECE59DD5EAB3 -->
