title: Hide or Minimize the powershell prompt after Winform Launch
body: <p>I have written a simple powershell script to launch a winform(Winform code written within powershell script for example showContent.ps1 file) &amp; showing some content.
  I need to hide the powershell.exe command prompt after the launch of the Winform.</p>
  
  <p>After searching some cases in web, I tried below Scenario:
  1)I tried to execute "<strong>powershell.exe -Command -windowstyle Hidden</strong>" in the start of the script file "showContent.ps1"</p>
  
  <p>2) Created a new script file exa:LaunchWinForm.ps1 and in that mentioned the command as:
  <strong>PowerShell.exe -windowstyle Hidden showContent.ps1</strong></p>
  
  <p>It is not working. </p>
  
  <p><strong>I am using Powershell 3.0</strong></p>
  
  <p>Could anyone tell what is going wrong or suggest any way to do it.</p>