# Get-OfficeExcelWriteReservation

Gets workbook write-reservation metadata. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

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 **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: ExcelWriteReservation

**Module**

`PSWriteOffice`

**Aliases**

`ExcelWriteReservation`

**Inputs**

`OfficeIMO.Excel.ExcelDocument`

**Source**

[GetOfficeExcelWriteReservationCommand.cs:17](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/GetOfficeExcelWriteReservationCommand.cs#L17) 

Gets workbook write-reservation metadata.

## Syntax

```
Get-OfficeExcelWriteReservation
[<CommonParameters>]
```

[#](#method-get-officeexcelwritereservation)

Parameter set: `Context`

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

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

Parameter set: `Path`

```
Get-OfficeExcelWriteReservation
-Document <ExcelDocument>
[<CommonParameters>]
```

[#](#method-get-officeexcelwritereservation-exceldocument)

Parameter set: `Document`

## Examples

### Inspect whether a workbook recommends read-only opening.

```powershell
Get-OfficeExcelWriteReservation -Path .\Report.xlsx |
                Format-List Exists, ReadOnlyRecommended, UserName, HasPasswordHash
```

Reports Excel file-sharing/write-reservation metadata separately from workbook protection and package encryption.

## Parameters

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

Workbook path to inspect.

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

Open workbook document 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:70A114AAF532C5357DD4B0FFE75546256B8D3B1BB004423245DF956D1A148683 -->
