# Get-OfficeExcelDocumentProperty

Gets built-in and application document properties from an Excel workbook.

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 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Excel.ExcelDocument`

**Outputs**

`PSWriteOffice.Models.Excel.ExcelDocumentPropertyInfo`

**Source**

[GetOfficeExcelDocumentPropertyCommand.cs:23](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/GetOfficeExcelDocumentPropertyCommand.cs#L23) 

Gets built-in and application document properties from an Excel workbook.

## Syntax

```
Get-OfficeExcelDocumentProperty
[-Application]
[-BuiltIn]
[-Custom]
[-Name <String[]>]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-get-officeexceldocumentproperty-switchparameter-switchparameter-switchparameter-string-string)

Parameter set: `Path`

```
Get-OfficeExcelDocumentProperty
[-Application]
[-BuiltIn]
[-Custom]
-Document <ExcelDocument>
[-Name <String[]>]
[<CommonParameters>]
```

[#](#method-get-officeexceldocumentproperty-switchparameter-switchparameter-switchparameter-exceldocument-string)

Parameter set: `Document`

## Examples

### Audit workbook metadata before publishing a report.

```powershell
$properties = Get-OfficeExcelDocumentProperty -Path .\Report.xlsx -Name Title,Company,Department
$properties |
    Format-Table Name, Value, Scope
```

Returns matching built-in, application, and custom workbook properties as structured objects.

## Parameters

**-Application SwitchParameter optional**

Only return application properties such as Company and Manager.

**-BuiltIn SwitchParameter optional**

Only return core package properties.

**-Custom SwitchParameter optional**

Only return custom workbook properties.

**-Name String[] optional**

Property name filter (wildcards supported).

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

Path to the workbook.

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

Workbook 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).

## Outputs

PSWriteOffice.Models.Excel.ExcelDocumentPropertyInfo: Represents an Excel document property exposed to PowerShell.

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:BEE29C157B965F34CE907BE27079A6A36B8FA5632C4172F9F100A81572DD17D6 -->
