title: Run mstsc in PowerShell without a password prompt
body: <p>I have a simple .ps1 file:</p>
  
  <pre><code>$Server="remotepc.company.net"
  $User=".\login"
  $Password="password"
  
  cmdkey /generic:TERMSRV/$Server /user:$User /pass:$Password
  mstsc /v:$Server /h:1080 /w:1920
  </code></pre>
  
  <p>And anyway it asks for a password.</p>