Forum Discussion
Mike_Moniz
Professor
6 years agoYou might also want to try add the following line near the top of the scripts. This causes PowerShell to use TLS 1.2 for connections.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12