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.
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.
-
Edit the .ps1 script
-
Add the following code to the first line
@findstr/v "^@f.*&" "%~f0" | powershell -NoProfile -ExecutionPolicy Bypass -WindowStyle hidden -&goto:eof
-
Save it as as .cmd
More info here.