To display the current protocol types enter the following in to PowerShell
[Net.ServicePointManager]::SecurityProtocol
The security protocol can be change to SystemDefault, Ssl3, Tls, Tls11, Tls12 or Tls13. to set to security protocols to: Tls 1.2 and Tls 1.3
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12, [Net.SecurityProtocolType]::Tls13