# Save-OfficeWord

Saves a Word document without disposing it. 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 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Word.WordDocument`

**Outputs**

`OfficeIMO.Word.WordDocument`

**Source**

[SaveOfficeWordCommand.cs:21](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/SaveOfficeWordCommand.cs#L21) 

Saves a Word document without disposing it.

## Syntax

```
Save-OfficeWord
[-Document] <WordDocument>
[-Open]
[-PassThru]
[-Password <String>]
[-Path <String>]
[<CommonParameters>]
```

[#](#method-save-officeword-worddocument-switchparameter-switchparameter-string-string)

Parameter set: `All Parameter Sets`

## Description

Use Close-OfficeWord -Save when you want to save and dispose the document.

## Examples

### Save the open document.

```powershell
$doc | Save-OfficeWord
```

Persists pending changes and keeps the document open.

## Parameters

**-Document WordDocument requiredposition: 0pipeline: True (ByValue)**

Document to save.

**-Open SwitchParameter optionalaliases: Show**

Open the document after saving.

**-PassThru SwitchParameter optional**

Emit the document object for further processing.

**-Password String optional**

Password used to save the document as an encrypted package.

**-Path String optionalaliases: FilePath**

Optional save-as path.

## 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:9122909BF14C0F718F4779A3D9713CFDD0B40EE7B76AA862C9C804D26C3FD13F -->
