Hello,
Certificate mapping one-to-one
How do I force PowerShell to connect (Client Hello for handshake) using TLS 1.2 and not 1.0 or 1.1?
I have seen this recommendation (below) but I would like to see an example implementation inside a remote connection .ps1 script:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12
*PS I included the above .NET statement in my connection script which did not seem to have any effect.
Best regards,
Jason