{"id":76061,"date":"2015-12-30T11:59:00","date_gmt":"2015-12-30T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2015\/12\/30\/powertip-launch-minimized-application-with-powershell\/"},"modified":"2019-02-18T09:20:29","modified_gmt":"2019-02-18T16:20:29","slug":"powertip-launch-minimized-application-with-powershell","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-launch-minimized-application-with-powershell\/","title":{"rendered":"PowerTip: Launch Minimized Application with PowerShell"},"content":{"rendered":"<p><strong>Summary<\/strong>: Learn how to specify the launch state of an application through Windows PowerShell.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\" \/>&nbsp;How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground?<\/p>\n<p style=\"margin-left:30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\" \/>&nbsp;Use the&nbsp;<b>&ndash;WindowStyle<\/b>&nbsp;parameter with the&nbsp;<b>Start-Process<\/b>&nbsp;cmdlet, and select&nbsp;<b>Minimized<\/b>, for example:<\/p>\n<p style=\"margin-left:120px\">Start-Process -WindowStyle Minimized &#039;iexplore.exe&#039;&nbsp;<\/p>\n<p style=\"margin-left:60px\"><b>Note<\/b>&nbsp;&nbsp;&nbsp;You can also choose&nbsp;<b>Hidden<\/b>,&nbsp;<b>Maximized<\/b>, or&nbsp;<b>Normal<\/b>, but not all applications support all modes.<\/p>\n<p style=\"margin-left:30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\" alt=\" \" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Learn how to specify the launch state of an application through Windows PowerShell. &nbsp;How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground? &nbsp;Use the&nbsp;&ndash;WindowStyle&nbsp;parameter with the&nbsp;Start-Process&nbsp;cmdlet, and select&nbsp;Minimized, for example: Start-Process -WindowStyle Minimized &#039;iexplore.exe&#039;&nbsp; Note&nbsp;&nbsp;&nbsp;You can also choose&nbsp;Hidden,&nbsp;Maximized, or&nbsp;Normal, but not all applications support all [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[56,356,652,45],"class_list":["post-76061","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-guest-blogger","tag-powertip","tag-thomas-rayner","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Learn how to specify the launch state of an application through Windows PowerShell. &nbsp;How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground? &nbsp;Use the&nbsp;&ndash;WindowStyle&nbsp;parameter with the&nbsp;Start-Process&nbsp;cmdlet, and select&nbsp;Minimized, for example: Start-Process -WindowStyle Minimized &#039;iexplore.exe&#039;&nbsp; Note&nbsp;&nbsp;&nbsp;You can also choose&nbsp;Hidden,&nbsp;Maximized, or&nbsp;Normal, but not all applications support all [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/76061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=76061"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/76061\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=76061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=76061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=76061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}