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. You can find a prepackaged Intune Win32 app file of the “CreateDesktopIcon.ps1” script on my GitHub repository available for download. Based on the Win32 app configuration the shortut get’s either created on the users personal desktop or on the allusers desktop. 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. This adds possibility to detect the presence of the shortcut and if required to uninstall it with Intune.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |