Thursday, August 25, 2016

Run Remote Powershell sessions


To prep a machine for a remote powershell session
  • Start the Windows Remote Management (WS-Management) Service on the remote machine.
  • psexec \\machinename cmd -i
  • winrm quickconfig
Once these tasks are complete you can run a remote powershell session in Powershell ISE.  Start this from File_New Remote Powershell Tab

The session displays the machine name at the prompt to signify that the commands are directed at the remote machine.

More here
http://www.howtogeek.com/117192/how-to-run-powershell-commands-on-remote-computers/