How to start an interactive session on a remote computer.

Remote computer:
Make sure the remote computer is the same network otherwise change network.

Start PowerShell in administrator mode and enter the command:
winrm quickconfig

To verify that remoting is configured correctly, run a test command:

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