File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function InitialSetup()
4343
4444 # Force TLS v1.2
4545 try {
46- if ([Net.ServicePointManager ]::SecurityProtocol -notcontains ' Tls12' ) {
46+ if ([Net.ServicePointManager ]::SecurityProtocol -notmatch ' Tls12' ) {
4747 [Net.ServicePointManager ]::SecurityProtocol += [Net.SecurityProtocolType ]::Tls12
4848 }
4949 }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function InitialSetup()
4343
4444 # Force TLS v1.2
4545 try {
46- if ([Net.ServicePointManager ]::SecurityProtocol -notcontains ' Tls12' ) {
46+ if ([Net.ServicePointManager ]::SecurityProtocol -notmatch ' Tls12' ) {
4747 [Net.ServicePointManager ]::SecurityProtocol += [Net.SecurityProtocolType ]::Tls12
4848 }
4949 }
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function InitialSetup()
4343
4444 # Force TLS v1.2
4545 try {
46- if ([Net.ServicePointManager ]::SecurityProtocol -notcontains ' Tls12' ) {
46+ if ([Net.ServicePointManager ]::SecurityProtocol -notmatch ' Tls12' ) {
4747 [Net.ServicePointManager ]::SecurityProtocol += [Net.SecurityProtocolType ]::Tls12
4848 }
4949 }
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ function InitialSetup()
5252
5353 # Force TLS v1.2
5454 try {
55- if ([Net.ServicePointManager ]::SecurityProtocol -notcontains ' Tls12' ) {
55+ if ([Net.ServicePointManager ]::SecurityProtocol -notmatch ' Tls12' ) {
5656 [Net.ServicePointManager ]::SecurityProtocol += [Net.SecurityProtocolType ]::Tls12
5757 }
5858 }
You can’t perform that action at this time.
0 commit comments