The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.
This PowerShell script sample shows how to convert Visio page file to .png file.
Many companies generate technical visuals in Microsoft Visio and would like to be able to share this information on their corporate sites. The problem, however, is that most users would not be able to view the visuals in this format. One of the ways of solving this problem is converting Visio diagrams to a more universal format like PNG. But doing it manually would be time consuming, this sample can help us to batch convert Visio files, it would be very convenient.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery