# Save-OfficeVisio

Saves an OfficeIMO.Visio document. 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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

Aliases: VisioSave

**Module**

`PSWriteOffice`

**Aliases**

`VisioSave`

**Inputs**

`OfficeIMO.Visio.VisioDocument`

**Outputs**

`OfficeIMO.Visio.VisioDocument`

**Source**

[SaveOfficeVisioCommand.cs:20](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Visio/SaveOfficeVisioCommand.cs#L20) 

Saves an OfficeIMO.Visio document.

## Syntax

```
Save-OfficeVisio
[-Document] <VisioDocument>
[-Open]
[-PassThru]
[[-Path] <String>]
[<CommonParameters>]
```

[#](#method-save-officevisio-visiodocument-switchparameter-switchparameter-string)

Parameter set: `All Parameter Sets`

## Examples

### Save a loaded diagram under a new path.

```powershell
$diagram = Get-OfficeVisio -Path .\ServiceMap.vsdx
$diagram | Save-OfficeVisio -Path .\ServiceMap-copy.vsdx -PassThru
```

Saves an existing OfficeIMO.Visio document to another .vsdx file.

## Parameters

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

Visio document to save.

**-Open SwitchParameter optionalaliases: Show**

Open the document after saving.

**-PassThru SwitchParameter optional**

Emit the document object for further processing.

**-Path String optionalposition: 1aliases: 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:9AB553F4160FBE7D4277F46C0B7AC79BD077672B3F9B53C27F580F872D8B45B6 -->
