Skip to main content

Enter-PSSession

Handy for PowerShell remoting

Making a connection

Enter-PSSession -ComputerName SERVER01

You'll probably get a big red scary blob of text telling you 777 reasons why the connection didn't complete. The fix (probably) is to add that host to your trusted list...

Adding hosts to trusted list

winrm set winrm/config/client @{TrustedHosts="SERVER01"}