PS_Remoting - 0xBrendan/Tech-Journal GitHub Wiki
One of the steps to managing our AD server remotely involved setting up powershell remoting. This seemed a little bit tricky at first, but made sense as I went through it. Sources referenced had fragmented useful information alongside outdated/incorrect guidance. Assembling multiple sources together allowed for a correct set of steps to be assembled:
On both servers in an administrator powershell instance:
$ Enable-PSRemoting -Force
// where HOSTNAME is, replace with the hostname or IP of the system you are granting remote access
$ winrm set winrm/config/client '@{TrustedHosts="HOSTNAME"}'
$ Restart-Service WinRM
// COMPUTER = hostname/IP USER = account for that system
$ Enter-PSSession -ComputerName COMPUTER -Credential USER