Get and Read RDP Certificate from a Remote Host with PowerShell

Sometimes, I get some interesting questions from other teams within my organization.  Read-RDPCert.ps1 addresses a request to read the SSL certificates from a list of remote hosts.  This is based on the code and following comments at https://blogs.technet.microsoft.com/parallel_universe_-_ms_tech_blog/2014/06/26/reading-a-certificate-off-a-remote-ssl-server-for-troubleshooting-with-powershell/.

Script Text

About Alan

See http://www.akaplan.com/blog/about/
This entry was posted in PowerShell, Scripting, Security and tagged , . Bookmark the permalink.

Leave a Reply