Powershell Setting Security Protocol to Tls 1.2 [duplicate]
setting this should change the protocol :
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
PS : checked in powershell v5
Setting Multiple Security Protocols:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls11 -bor [System.Net.SecurityProtocolType]::Tls12;