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
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/