Forum Discussion

dmarquesgn's avatar
dmarquesgn
Iron Contributor
Mar 17, 2022
Solved

Weird problem running simple script between Powershell ISE and Powershell

Hi,   I'm new to powershell and I've been developing some simple scripts to check stuff in our internal network. Now I want to set a task to run a script every morning at 9am. So I got the script r...
  • Harm_Veenstra's avatar
    Harm_Veenstra
    Mar 21, 2022

    dmarquesgn You can use this at the start of the script to set TLS to 1.2 

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

Resources