Skip to content

Commit

Permalink
Merge pull request #254 from andy-dufour/ad/ps_tls12_fix
Browse files Browse the repository at this point in the history
Adding TLS negotiation support for older versions of .NET
  • Loading branch information
schisamo committed May 10, 2018
2 parents bbad20d + 566cb86 commit 351ca20
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[Console]::OutputEncoding = New-Object -typename System.Text.ASCIIEncoding
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'

function Get-PlatformVersion {
switch -regex ((Get-Win32OS).version) {
Expand Down

0 comments on commit 351ca20

Please sign in to comment.