CheckIfSslBindingExists
[-webSite] <String>
[-hostHeader] <String>
[-ipAddress] <String> = "*"
Checks if there is a binding with https
protocol with the provided host header and optional IP Address on a website.
if(CheckIfSslBindingExists -webSite "MySite" -hostHeader "site.example.com")
{
Write-Host "SSL binding exists"
}