Below is the script we use to create a shortcut to our portal in our RMM. This can be modified to suit your needs.
SET fso = Wscript.CreateObject("Scripting.FileSystemObject") SET WshShell = WScript.CreateObject("WScript.Shell") WinDir = WshShell.ExpandEnvironmentStrings("%WinDir%") strDsk = "C:\Users\Public\Desktop" strshortcut = strDsk & "\Portal.lnk" If Not fso.FileExists(strshortcut) Then SET oUrlLink = WshShell.CreateShortcut(strshortcut) oUrlLink.TargetPath = "C:\Program Files (x86)\4IT Support Pty Ltd Support Portal\ClientPortal.exe" oUrlLink.IconLocation = "C:\Program Files (x86)\4IT Support Pty Ltd Support Portal\Icon.ico, 0" oUrlLink.Save End If
Please note: This is a “QUICK SUPPORT” article. The information contained herein is provided as is. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. More than likely specific steps may be missing and it could very well be assuming you have an advanced understanding on how to complete certain steps.