Jump to content

Recommended Posts

Posted

I've done this by packaging it as a win32 app and running a simple powershell script.

 

$shortcut = "shortcut.url"
$shortcutLocation = "C:\Users\Public\Desktop"

xcopy $shortcut $shortcutLocation

 

  • Like 1
Posted

Powershell as below

 

$SourceFilePath = "C:\Program Files\Google\Chrome\Application\chrome.exe"
$ShortcutPath = "C:\users\public\Desktop\Google Chrome.lnk"
$WScriptObj = New-Object -ComObject ("WScript.Shell")
$shortcut = $WscriptObj.CreateShortcut($ShortcutPath)
$shortcut.TargetPath = $SourceFilePath
$shortcut.Save()

Posted

Simple batch file:

 

md C:\staffStart\programs
copy /Y .\programs\* C:\staffStart\programs\

 

Within the intunewin file is a folder called programs containing a load of shortcuts.

 

To add or remove shortcut just plop them in the shortcuts folder and create the package again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...