Cmdlet
Save-OfficeVisio
Saves an OfficeIMO.Visio document.
Syntax
Save-OfficeVisio
[-Document] <VisioDocument>
[-PassThru]
[[-Path] <String>]
[-Show]
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
DocumentExamples
Save a loaded diagram under a new path.
$diagram = Open-OfficeVisio -Path .\ServiceMap.vsdx
$diagram | Save-OfficeVisio -Path .\ServiceMap-copy.vsdx -PassThruSaves an existing OfficeIMO.Visio document to another .vsdx file.
Parameters
- -Document VisioDocument
- Visio document to save.
- -PassThru SwitchParameter
- Emit the document object for further processing.
- -Path String
- Optional save-as path.
- -Show SwitchParameter
- Open the document after saving.
- -WhatIf SwitchParameter
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
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.