Add a trusted host (WinRM).
Add one or mulitple trusted host(s) (WinRM).
Administrative rights are required to execute this command!
Add-TrustedHost [-TrustedHost] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
PS> Add-TrustedHost -TrustedHost "192.168.178.27", "TEST-DEVICE-02"
Confirm
Are you sure you want to perform this action?
Performing the operation "Add-TrustedHost" on target "WSMan:\localhost\Client\TrustedHosts".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
PS> Get-TrustedHost
TrustedHost
-----------
192.168.178.28
TEST-DEVICE-01
192.168.178.27
TEST-DEVICE-02