Script Download:
The script is available for download from https://gallery.technet.microsoft.com/scriptcenter/How-to-create-a-shortcut-54f6e10f.
The sample code demonstrates how to create a shortcut to run an application as a different user.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery