astrokda.blogg.se

Microsoft edge icon
Microsoft edge icon








If the shortcut is missing or deleted it gets automatically (re)created.Everything is user based (local userprofile).This solution works when the desktop is redirected with OneDrive Known Folder Move.I documented this for the new Microsoft Edge based on chromium here.

  • Possibility to remove shortcut via Intune Win32 app uninstall.
  • Shortcut can point to: URL, File (UNC) or Folder (UNC).
  • Ability to specify shortcut icon (UNC/URL).
  • Ability to deploy shortcut together with an app using Intune Win32 app dependenciesĪ simple PowerShell script which does all the shortcut stuff is wrapped as Intune Win32 App.
  • This adds possibility to detect the presence of the shortcut and if required to uninstall it with Intune.

    microsoft edge icon

    In order to work with the redirected desktop to OneDrive with Known Folder Move we can take advantage of the ::GetFolderPath("Desktop") method to resolve the desktop location.

    microsoft edge icon

    Based on the Win32 app configuration the shortut get’s either created on the users personal desktop or on the allusers desktop. You can find a prepackaged Intune Win32 app file of the “CreateDesktopIcon.ps1” script on my GitHub repository available for download. Optional: Custom icon file for the shortcut (URL, UNC) Optional: Create start additional start menu shortcut Target path for your shortcut (URL, UNC) (file/folder) The PowerShell script supports the following command line parameters: Parameter You can also wrap the scripts by yourself by using the IntuneWinAppUtil.exe available as download here.










    Microsoft edge icon