Do you know if there is a way to enable TLS1.2 in powershell (i.e. for invoke-webrequest or invoke-restmethod)?
By default, Powershell seems to be using TLS1.0, which is not compatible with all of our web services.
/ Patrik
Was!
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12