Do you know if there is a way to enable TLS1.2 in powershell (ie. for invoke-webrequest or invoke-restmethod)?
By default it looks like Powershell uses TLS1.0, which is not compatible with all our web services.
/Patrik
There was!
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
/Patrik
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With