Powershell Invoke-WebRequest Trusted Certs

If you’re a powershell fan you’re probably familiar with Invoke-WebRequest. It’s the powershell version of cURL in that it will send an HTTP request to an endpoint and show you the response.

Personally I prefer powershell for parsing and interacting with the response (I find it easier interact with the results in powershell).

Depending on your use case for powershell you may not have experienced the frustration of using Invoke-WebRequest against a server presenting self signed certificates, but in my world that’s common. I often…