Pin icons to the taskbar using PowerShell
Question
I would like to be able to pin icons to the taskbar using PowerShell within Windows 10 (instead of using group policy). Is there any way that this can be done within Windows 10?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
I would like to be able to pin icons to the taskbar using PowerShell within Windows 10 (instead of using group policy). Is there any way that this can be done within Windows 10?
Answers ( 5 )
What exactly you looking to do? want to Pin Firefox shortcuts to taskbar
First Check that Path of application, Right Click/ Open File location / Application Name.lnk
Replace with Application shortcut path in XML File-
As Kannan suggested, Best to refer MS article –
Here two options you had, Whether you want to remove all existing or default pinned app (File Explorer, Mail) and add own app
Or You want to Keep default apps and add your own
According create the xml file and test it manually before executing with SCCM.
Adding to Kannan Point, You can refer to the below post to configure the taskbar with a layout XML file.
+ https://docs.microsoft.com/en-us/windows/configuration/configure-windows-10-taskbar
you can create the xml scripts and deploy to windows OS. you can deploy the script using task sequence method.
1. First copy the script to C drive of windows 10 device
2. Call the C driver script to install on the local windows 10 computer.
Thank you for your response Kannan.
Can you please give me an example for Firefox shortcut ?. Microsoft article is bit overwhelming.
How to deploy it thru sccm ?
You can develop the .xml file with Microsoft reference.