Remote computer:
Make sure the remote computer is the same network otherwise change network.
Start PowerShell in administrator mode and enter the command:
Enable-PSRemoting
winrm quickconfig
Y
To verify that remoting is configured correctly, run a test command:
New-PSSession
Managing computer:
Set-Item WSMan:\localhost\Client\TrustedHosts -value (IPaddress)
Enter-PSSession -ComputerName “IPaddress” -Credential “username”
Article links:
About Remote
About Remote Requirements
Running Remote Commands