Run PowerShell or batch file remotely

  To configure Windows PowerShell to receive remote commands in DEV http://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/ Start Windows PowerShell with the "Run as administrator" option. On server: enable-psremoting On server: Set-ExecutionPolicy Unrestricted On server: Set-Item wsman:\localhost\client\trustedhosts * (allows any computer to connect) On server: Restart-Service WinRM On client: Set-ExecutionPolicy Unrestricted On client: Set-Item wsman:\localhost\client\trustedhosts …