Close-VisioDocument

NOTE: Unsaved documents will be closed without prompting

To simplify automation, the Close-VisioDocument cmdlet will close any specific document - even if it has unsaved changes.

Close the active document

Close-VisioDocument

Close a specific document

Close-VisioDocument -Document $doc1

Close multiple documents

Close-VisioDocument -Document $doc1,$doc2 

Close all documents

$docs = Get-VisioDocument -Name *
Close-VisioDocuments $docs 

Last updated