Set a trusted host (WinRM).
Set one or mulitple trusted host(s) (WinRM).
Administrative rights are required to execute this command!
Set-TrustedHost [-TrustedHost] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
PS> Set-TrustedHost -TrustedHost "192.168.178.28", "TEST-DEVICE-01"
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