Created
July 23, 2018 21:38
-
-
Save michaellwest/6fe22eb38ea3a83b522f0ca2c71a986c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (![Net.ServicePointManager]::SecurityProtocol.HasFlag([Net.SecurityProtocolType]::Tls12)) { | |
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment