[System.Net.ServicePointManager]::CheckCertificateRevocationList not working when using Invoke-Command or New-PSSession

When you use a Invoke-Command or New-PSSession Cmdlet you might run into an error stating that the Certificate recovation list could not be checked. When you set the corresponding property – you still get the same error message. This is because the aforementioned Cmdlets do not honour this setting (whereas they honour to bypass all […]