In Exchange Server 2007 the Get-ExchangeCertificate cmdlet only allowed us to view the local server’s certificates. But in Exchange Server 2010 Get-ExchangeCertificate has a -Server parameter that allows us to view certificates on remote servers as well.
This means we can run a PowerShell script to collect information about the SSL certificates on all of our Exchange servers, which is useful during Exchange 2013 migration planning.
This script, CertificateReport.ps1, is executed from the Exchange Management Shell and produces a HTML report in the same folder where the script is run from.
[PS] C:\Scripts\Exchange2013Planning>.\CertificateReport.ps1 Server: BR-EX2010-MB (Mailbox, ClientAccess, HubTransport) Server: HO-EX2010-MB1 (Mailbox, ClientAccess, HubTransport) Server: HO-EX2010-MB2 (Mailbox, ClientAccess, HubTransport) Server: HO-EX2010-PF (Mailbox) Server: HO-EX2010-EDGE (Edge)
Download the script file here: CertificateReport.ps1 (downloaded 0 times so far)
This article PowerShell Script to Generate Exchange Server SSL Certificate Report is © 2014 ExchangeServerPro.com
Get more Exchange Server tips at ExchangeServerPro.com