Older versions of PoSh didn't support this additive operation [Net.ServicePointManager]::SecurityProtocol += .... So switching to the more compatible binary OR operator (tested as far back as PoSh 2.0) Also cleaned up the protocol assignment to use the actual ENUM instead of the number to make it easier to read
Older versions of PoSh didn't support this additive operation [Net.ServicePointManager]::SecurityProtocol += .... So switching to the more compatible binary OR operator (tested as far back as PoSh 2.0) Also cleaned up the protocol assignment to use the actual ENUM instead of the number to make it easier to read