Skip to content

cmdlette/Set-DesktopShortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Set-DesktopShortcuts.ps1

Set desktop shortcuts for the logged-on user.

This script uses a set of variables to look for and selectively copy shortcuts to the logged-on user's desktop. I originally wrote it to be run as a logon script from Group Policy. Additionally, if you use PDQ Deploy and/or PDQ Inventory, it can be run as a PowerShell step in a Deploy package, or as a remote command or tool in Inventory.

What you need to do

Read and edit the script carefully before executing. You will need to fill in your environment's:

  1. $shortcutN file names and extensions
  2. Location of items to be copied

There are comments to remind you where to look and what to change. If you want to add more shortcuts, simply add new $shortcutN variables and put them into copy-pasted if/else blocks.

Other notes

This script, as shared, is not signed.

About

Set desktop shortcuts for the logged-on user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published