Sylver SCHORGEN Blog's

Articles, astuces et news sur les technologies Microsoft et plus particulièrement tournant autour de Powershell

[POWERSHELL] Add a remote machine to your TrustedHost

Hi everyone,

I'm doing a lot a Azure IAAS those days and one thing I need to do for each VM I create on Azure is to add the public IP to my TrustedHost in order to do some PSRemoting (because these servers are not in my domain).

Here is the command you need to enter on your computer to add an IP to your TrustedHost : Set-Item WSMAN:\localhost\Clients\TrustedHost -Value votre_ip

Your PowerShel console must be launched as an Administrator.

Facebook Like
Anonymous