Browse Source

Update Download_Sophia.ps1

pull/343/head
Dmitry Nefedov 3 years ago
committed by GitHub
parent
commit
3f065cb6d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      Download_Sophia.ps1

10
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)
{

Loading…
Cancel
Save