Connecting to Remote Hosts in a Non-Domain Environment (Trusted Hosts)

To enable remote powershelling with servers not in the same domain as the client machine you will need to perform the following steps:

On the server PC type:


On the client PC type:

Server IP

set-item wsman:\localhost\client\trustedhosts -value
$cred = get-credential\administrator
enter-pssession -computername -credential $cred

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s