VMware Workspace ONE Community
joaomaia18
Contributor
Contributor
Jump to solution

Shortcut of applications on Desktop (Windows)

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?

Labels (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
ogushia
Hot Shot
Hot Shot
Jump to solution

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

ogushia_0-1665148839003.png

 

View solution in original post

Reply
0 Kudos
1 Reply
ogushia
Hot Shot
Hot Shot
Jump to solution

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

ogushia_0-1665148839003.png

 

Reply
0 Kudos