From 3f065cb6d92514bc0fcbbf4e1e920434c79c4e71 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Tue, 3 May 2022 18:07:58 +0300 Subject: [PATCH] Update Download_Sophia.ps1 --- Download_Sophia.ps1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Download_Sophia.ps1 b/Download_Sophia.ps1 index 63e9bbc8..2f628ea5 100644 --- a/Download_Sophia.ps1 +++ b/Download_Sophia.ps1 @@ -1,6 +1,14 @@ <# .SYNOPSIS Download the latest Sophia Script version, depending on what Windows or PowerShell versions are used to + + .SYNOPSIS + + Download the latest Sophia Script version, depending on what Windows or PowerShell versions are used to + + E.g., if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1 + + E.g., if you start script on Windows 11 via PowerShell 5.1 you will start downloading Sophia Script for Windows 11 PowerShell 5.1 .EXAMPLE Download and the Sophia Script archive @@ -136,7 +144,7 @@ switch ((Get-CimInstance -ClassName Win32_OperatingSystem).BuildNumber) } } - "22000" + {$_ -ge 22000} { if ($PSVersionTable.PSVersion.Major -eq 5) {