Skip to content

Instantly share code, notes, and snippets.

View joyvinci's full-sized avatar

Joy joyvinci

View GitHub Profile
@joyvinci
joyvinci / EnableTls12ClientForDotNet.ps1
Created August 24, 2021 02:47 — forked from tivrobo/EnableTls12ClientForDotNet.ps1
Configure the .NET Framework to support TLS 1.2
#
# https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client#bkmk_net
# you need to reboot the OS for the new settings to take effect
#
function AddRegValue {
param (
$Path,
$Name,
$Value,