Cmdlet
Open-OfficeVisio
Loads an existing .vsdx file as an OfficeIMO.Visio document.
Syntax
Examples
Open and inspect a Visio document.
$diagram = Open-OfficeVisio -Path .\ServiceMap.vsdx
Open-OfficeVisioInfo -Document $diagram -AsTextLoads an existing .vsdx file and creates a deterministic inspection snapshot.
Parameters
- -Content ScriptBlock
- An optional authoring block; omission returns the live document.
- -PassThru SwitchParameter
- Emit the FileInfo after a completed authoring block.
- -Path String
- Visio .vsdx path.
- -Show SwitchParameter
- Open the saved document after a completed authoring block.
- -LiteralPath String
- Exact source path without wildcard expansion.
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.