Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Launch Minimized Application with PowerShell

$
0
0

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.


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>