From 1980e549ef668470e7b5d803808bfd1cd9794220 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RBH716R\\Admin" Date: Mon, 25 Jul 2022 22:52:59 +0530 Subject: [PATCH] test --- _site/get.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_site/get.ps1 b/_site/get.ps1 index e31c03c..ee77da8 100644 --- a/_site/get.ps1 +++ b/_site/get.ps1 @@ -2,11 +2,11 @@ $Tls12 = [Enum]::ToObject([System.Net.SecurityProtocolType], 3072); [System.Net. $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" - + if($PSVersionTable.PSVersion.Major -lt 3){ (New-Object System.Net.WebClient).DownloadFile($DownloadUrl, $FilePath) }else { Invoke-WebRequest -Uri $DownloadURL -UseBasicParsing -OutFile $FilePath } -Start-Process -FilePath $FilePath \ No newline at end of file +Start-Process -FilePath $FilePath