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 VBScript shows how to remove all network printers on a computer.
Remove all network printers is a frequently asked question in many public forums.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery