November 15th, 2012

PowerTip: Use PowerShell to View Trusted Hosts

Doctor Scripto
Scripter

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

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.