title: PowerShell sending keystrokes e.g. F5 after opening an application
body: <p>I am using PowerShell to open an application and then send keystrokes F5, which is "Running", just like someone presses the F5 keyboard to start the shortcut.</p>
  
  <p>However, [System.Windows.Forms.SendKeys]::SendWait("{F5}") is not working, I don't know if it is the right sentence or not?</p>
  
  <pre><code>Start-Process "C:\Users\minnie\Documents\Ixia\IxLoad\Repository\HTTP Concurrent conns port1n2.rxf"
  
  Start-Sleep -s 50
  
  [System.Windows.Forms.SendKeys]::SendWait("{F5}")
  
  exit
  </code></pre>