Hello all, good morning!
I'm new to WS1 managing Windows so... do you guys know how (or maybe some KB, Doc) put a SHORTCUT into the Windows Desktop of some Application and Web Application?
We have deployed App shortcut in customer's environment using Script.
Here is a sample script and configuration:
■App Shortcut
$WsShell = New-Object -ComObject WScript.Shell
$USER = $env:USERPROFILE
$Shortcut = $WsShell.CreateShortcut("$USER\Desktop\iexplore.lnk")
$Shortcut.TargetPath = "C:\Program Files\Internet Explorer\iexplore.exe"
$Shortcut.IconLocation = "C:\Program Files\Internet Explorer\iexplore.exe"
$Shortcut.Save()
■URL Shortcut
$WsShell = New-Object -ComObject WScript.Shell
$USER = $env:USERPROFILE
$Shortcut = $WsShell.CreateShortcut("$USER\Desktop\google.url")
$Shortcut.TargetPath = "https://google.com"
$Shortcut.Save()
■Script configuration
We have deployed App shortcut in customer's environment using Script.
Here is a sample script and configuration:
■App Shortcut
$WsShell = New-Object -ComObject WScript.Shell
$USER = $env:USERPROFILE
$Shortcut = $WsShell.CreateShortcut("$USER\Desktop\iexplore.lnk")
$Shortcut.TargetPath = "C:\Program Files\Internet Explorer\iexplore.exe"
$Shortcut.IconLocation = "C:\Program Files\Internet Explorer\iexplore.exe"
$Shortcut.Save()
■URL Shortcut
$WsShell = New-Object -ComObject WScript.Shell
$USER = $env:USERPROFILE
$Shortcut = $WsShell.CreateShortcut("$USER\Desktop\google.url")
$Shortcut.TargetPath = "https://google.com"
$Shortcut.Save()
■Script configuration