PowerTip: Use PowerShell to View Trusted Hosts

Dr Scripto

Summary:  Learn how to use Windows PowerShell to view trusted hosts on a local computer.

Hey, Scripting Guy! Question How can I find out if any trusted hosts are configured on my local computer?

Hey, Scripting Guy! Answer Use the Get-Item cmdlet and view the trusted hosts from the WSMan drive, as shown here.

Get-Item WSMan:\localhost\Client\TrustedHosts

 

0 comments

Comments are closed. Login to edit/delete your existing comments