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?

Answers ( 5 )

    0
    2021-05-14T01:04:13+05:30

    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.

    0
    2021-05-13T21:45:51+05:30

    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

    Best answer
    1
    2021-05-13T19:41:44+05:30

    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.

Leave an answer

Sorry, you do not have permission to answer to this question .