title: force kms sync with powershell hangs
body: <p>I have a command in my script.ps1 which is run by a next build step in tfs 2015. I then navigate to the location of office, run the command to force a KMS push like this:</p>
  <pre><code>cmd.exe dir &quot;C:\apps\MSOffice\Office15\&quot;
  cmd.exe &quot;cscript ospp.vbs /act&quot;
  </code></pre>
  <p>It gets executed but then it just hangs and nothing happens.  If I execute the command by hand it works without problems.
  This only occurs if I do it through powershell - running the command by hand works as intended.</p>