.NET Framework TLS Konfiguration ermitteln und setzen

# Konfiguration ermitteln [Net.ServicePointManager]::SecurityProtocol # Konfiguration einzeln setzen [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS11[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12 # Konfiguration all in