Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created December 23, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/c461fca2f66fe0338e510ae8274a3761 to your computer and use it in GitHub Desktop.
Save PlagueHO/c461fca2f66fe0338e510ae8274a3761 to your computer and use it in GitHub Desktop.
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