Problem: How do I pin items to the taskbar during deployment?
Solution: After deployment of a server I feel its nice to have your common programs pinned to the taskbar to enable quick launch after you’ve finished. In my line of work we have three main servers we use at each site and we separate roles & services accordingly. The script below covers pinning a few different items to the task bar some programs some MMC Consoles. This is one script made from 3, feel free to edit as you see fit and drop parts onto other scripts.
First we declare $shell as a new object with the type configured as “Shell.Application”
Then we specify the folder where the program resides
The name of the program within that folder (including the file extension)
And finally pin it to the taskbar
I have selected parts of the script below running at the end of my task sequences for each of my servers, pinning the most commonly used programs to the taskbar for use by other admins and myself when remoting on.
Here is the scripts i put together this morning, it includes taskbar pins for:
- Internet Explorer
- MDT Deployment Workbench
- AD Users and Computer
- Group Policy
It should also give you a head start on how to edit this for your specific needs.
Thanks, and Happy New Year to all my readers!