Force PowerShell to Use TLS 1.2

By default, older versions of PowerShell use TLS 1.0 when using Invoke-WebRequest. Automox only uses TLS 1.2. This is why a secure session cannot be established with Automox when downloading files from worklets and third-party application patching policies.

Run the following in a PowerShell window as admin:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Automox PowerShell scripts should now run without TLS errors.

Was this article helpful?
0 out of 0 found this helpful