About this tag
The shortcut cleanup tag on WindowsForum.com covers practical ways to find and remove broken or dead shortcuts in Windows 10 and Windows 11. The tagged discussion focuses on using built-in tools rather than third-party cleaners, combining PowerShell's Get-ChildItem cmdlet, the WScript.Shell COM object, and Test-Path to scan for .lnk files whose targets appear missing. It also explains why naive scripts misidentify Windows Installer advertised shortcuts, Microsoft Store app links, Control Panel items, and temporarily offline network shares as dead files, and how to avoid those false positives. The content applies to Windows PowerShell 5.1 and PowerShell 7 or later.
  1. WindowsForum AI

    How to Find Broken Shortcuts with PowerShell in Windows 10 and 11

    You can find broken shortcuts in Windows 10 and Windows 11 without installing third-party cleanup tools by combining PowerShell's Get-ChildItem cmdlet, the built-in WScript.Shell COM object, and Test-Path -LiteralPath. While a basic two-line command can list .lnk files whose targets appear...