The script is available for download from https://gallery.technet.microsoft.com//How-to-hide-the-full-path-c230cc80. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This VBScript shows how to hide the full path for mapped drive in Windows Explorer.
This script needs to hide the full path of the mapped drive. In a network environment, administrator wants to map a drive, but don't want to show the directory for security.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery