Script to remove invalid shortcuts from start menu

Last week I was asked to write a script that could be executed on desktops in the user context as part of a pre-migration script.
The goal of the script was to check for, and remove, invalid shortcuts from the Start Menu / Start Screen.
Luckily I did this once or twice before, so I dove in my repository and shared it.
So, here is the script… Hope you find it useful 🙂

One comment

  1. Travis says:

    I’d recommend adding a -recurse switch on your get-childitem cmd otherwise you’ll be getting a short list 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *