CmdID / PowerShell / Cmdlets / Test
Test-FederationTrustCertificate
Use the Test-FederationTrustCertificate cmdlet to check the status of certificates that are used for federation on all Exchange servers. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.