: Press Win + D . This toggles between showing your desktop and restoring your open windows. 2. Launching Programs Already Minimized

Raymond Chen. Show more. The keyboard shortcut for “Minimize All” is Win + M and The keyboard shortcut for “Show Desktop” is Win + Microsoft Dev Blogs Did You Know This Hidden Shortcut to Minimize All Windows?

PowerShell can access the Windows Forms assembly to manipulate its own window state. Add this snippet to the top of your script:

However, the cleanest method involves using a small utility like (Commandline Window Utility) or Nircmd . For example, using nircmd :