/VSDtoVSDX-Converter

A Powershell GUI to mass convert Microsoft Visio VSD files to VSDX.

Primary LanguagePowerShellMIT LicenseMIT

VSD to VSDX Converter

A Powershell GUI to mass convert Microsoft Visio VSD files to VSDX.

This script uses the Visio COM object to perform the conversion. Ensure that you have Microsoft Visio installed on the machine where you run this script.

Options to make it an executable (for convenience)

Compile

You can compile the script using PS2EXE. E.g.:

Invoke-PS2EXE .\vsd_converter.ps1 .\vsd_converter.exe -noConsole -version '1.0'

Note that scripts compiled with PS2EXE are often mistakenly detected as malware. The best way to prevent this is to certify the executable.

Turn it into a polyglot script

  1. Edit the .ps1 script

  2. Add the following code to the first line

    @findstr/v "^@f.*&" "%~f0" | powershell -NoProfile -ExecutionPolicy Bypass -WindowStyle hidden -&goto:eof

  3. Save it as as .cmd

More info here.