title: Run Windows application on Build Server by TFS Release Build Definition
body: <p>Run  notepad or any  other windows application  with  Release Definition on  build server   using  powershell  or batch scripts:
  I tried all the commands known to me:</p>
  
  <pre><code>&amp; ′notepad.exe′
  Invoke-Expression -Command ′notepad.exe′
  Start-Process -FilePath ′notepad.exe′
  [System.Diagnostics.Process]::Start(′notepad.exe′)
  ([wmiclass]″Win32_Process″).Create(′notepad.exe′)
  Invoke-WmiMethod -Class Win32_Process -Name Create -ArgumentList ″notepad.exe″
  Invoke-Command -ScriptBlock {&amp; notepad.exe′}
  cmd /c ″notepad.exe″
  </code></pre>
  
  <p>When running on the server itself everything works(start  notepad  or any  onther win  app)
  but
  When i tried running by TFS Release Definition : Command end successful but  on  build  server - nothing happens.</p>
  
  <p>Any Ideas!!!</p>