TLS code update

This commit is contained in:
DESKTOP-RBH716R\Admin 2022-07-18 01:52:05 +05:30
parent 285226ca35
commit a465b6eab2

View File

@ -1,7 +1,4 @@
# Enable TLSv1.2 and TLSv1.3 for compatibility with older clients $Tls12 = [Enum]::ToObject([System.Net.SecurityProtocolType], 3072); [System.Net.ServicePointManager]::SecurityProtocol = $Tls12;
$TLS12Protocol = [System.Net.SecurityProtocolType] 'Tls12', 'Tls13'
[System.Net.ServicePointManager]::SecurityProtocol = $TLS12Protocol
$DownloadUrl = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_1.5_AIO_CRC32_21D20776.cmd' $DownloadUrl = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_1.5_AIO_CRC32_21D20776.cmd'
$FilePath = "$env:USERPROFILE\Desktop\MAS_1.5_AIO_CRC32_21D20776.cmd" $FilePath = "$env:USERPROFILE\Desktop\MAS_1.5_AIO_CRC32_21D20776.cmd"