You may find that you get the following error when trying to run PowerShell commands connecting to remote servers:
Powershell is unable to connect to the remote server
This is because you haven’t enabled PowerShell Remoting. To enable PowerShell Remoting, create a group policy object with the following policies set:
Computer Configuration -> Policies -> Administrative templates -> Windows Components -> WinRM -> Allow automatic configuration of listeners
Add the IP addresses of the servers you want to listen on (or * for all).
Computer Configuration -> Policies –> WindowsSettings –> SecuritySettings –> SystemServices –> WindowsRemoteManagement -> Windows Remote Management
Set to Automatic.
You should be able to connect to the remote servers effected by this GPO through PowerShell commands now.