How to create shortcuts to Start Menu items in Windows.How to create shortcuts to web pages in Windows.How to create shortcuts to folders in Windows.How to create shortcuts to desktop apps and files in Windows.$Shortcut6 = $WScriptShell6.CreateShortcut($ShortcutFile6) $Shortcut5 = $WScriptShell5.CreateShortcut($ShortcutFile5) $Shortcut4 = $WScriptShell4.CreateShortcut($ShortcutFile4) $Shortcut3 = $WScriptShell3.CreateShortcut($ShortcutFile3) $Shortcut2 = $WScriptShell2.CreateShortcut($ShortcutFile2) $Shortcut1 = $WScriptShell1.CreateShortcut($ShortcutFile1) $Shortcut0 = $WScriptShell0.CreateShortcut($ShortcutFile0) $WScriptShell7 = New-Object -ComObject WScript.Shell ![]() $WScriptShell6 = New-Object -ComObject WScript.Shell $WScriptShell5 = New-Object -ComObject WScript.Shell $WScriptShell4 = New-Object -ComObject WScript.Shell $WScriptShell3 = New-Object -ComObject WScript.Shell $WScriptShell2 = New-Object -ComObject WScript.Shell $WScriptShell1 = New-Object -ComObject WScript.Shell $WScriptShell0 = New-Object -ComObject WScript.Shell $ShortcutFile7 = "$env:Public\Desktop\OneNote_1.lnk" $ShortcutFile6 = "$env:Public\Desktop\Chrome_1.lnk" $ShortcutFile5 = "$env:Public\Desktop\Edge_1.lnk" $ShortcutFile4 = "$env:Public\Desktop\Zoom_1.lnk" $ShortcutFile3 = "$env:Public\Desktop\Outlook_1.lnk" $ShortcutFile2 = "$env:Public\Desktop\PowerPoint_1.lnk" $ShortcutFile1 = "$env:Public\Desktop\Word_1.lnk" $ShortcutFile0 = "$env:Public\Desktop\Excel_1.lnk" $TargetFile7 = "C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE" $TargetFile6 = "C:\Program Files\Google\Chrome\Application\chrome.exe" $TargetFile5 = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" $TargetFile4 = "C:\Program Files\zoom\bin\Zoom.exe" $TargetFile3 = "C:\Program Files\Microsoft Office\root\Office16\outlook.exe" $TargetFile2 = "C:\Program Files\Microsoft Office\root\Office16\powerpnt.exe" $TargetFile1 = "C:\Program Files\Microsoft Office\root\Office16\winword.exe" $DesktopPath = ::GetFolderPath(“Desktop”) $ShortcutFile = “$DesktopPath\Zoom_New.lnk” MultipleShorcutsDeploy.ps1 $TargetFile0 = "C:\Program Files\Microsoft Office\root\Office16\excel.exe" Let’s see step by step how to create a desktop shortcut using Microsoft Intune. We will be using a powershell script which we will upload to Microsoft Endpoint Manager Portal and Push it to the end user devices in System context. By creating this shortcut on AllUsersDesktop / Public desktop, we will make sure that the shortcut is available / visible to all the users who work on that device. Please note that you can deploy a shortcut either on AllUsersDesktop which is also referred to as Public desktop on Windows 10 or Windows 11 devices. In this blog post, we will see how you can easily deploy a desktop shortcut using Microsoft Intune on Windows 10 or Windows 11 devices. ![]() You could have any other scenario / requirement for deployment of desktop shortcut. In that case, you can deploy a desktop shortcut by fixing the target path of the shortcut and deploy that shortcut on users devices using Intune. It could be due to broken path or links in the desktop shortcut. In that case, you can deploy a shortcut of the app using Intune.Īnother scenario could be when you have upgraded an application and desktop shortcut of that application stops working. However, some of the third party / custom / In-house applications do not create a desktop shortcut. Most of the applications generally create a desktop shortcut Icon for users to launch the application easily. There are various way to deploy an application using Microsoft Intune.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |