Consider the following script:
$ErrorActionPreference = "SilentlyContinue" $selectorset = @{ Transport = "HTTPS" Address = "