PowerTip: Launch Minimized Application with PowerShell

Doctor Scripto

Summary: Learn how to specify the launch state of an application through Windows PowerShell.

Hey, Scripting Guy! Question How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground?

Hey, Scripting Guy! Answer Use the –WindowStyle parameter with the Start-Process cmdlet, and select Minimized, for example:

Start-Process -WindowStyle Minimized 'iexplore.exe' 

Note   You can also choose HiddenMaximized, or Normal, but not all applications support all modes.


Discussion is closed.

Feedback usabilla icon