Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Task to Test the SSL endpoint certificates on one or more sites
cd c:\
if ((Invoke-Pester -PassThru).FailedCount -gt 0) {
Write-Host "An SSL Endpoint test failed. Notify someone here!"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment