Update syscheck for Pro
This commit is contained in:
parent
e2831aac5c
commit
6f91d49d08
@ -25,17 +25,17 @@ function fSCCountTotalMemory
|
||||
|
||||
function fSCOSVerification
|
||||
{
|
||||
Write-Host "---Check Windows OS Installation Version (Windows 10 LTSC)---"
|
||||
Write-Host "---Check Windows OS Installation Version (Windows 10 Pro)---"
|
||||
(Get-WmiObject -Class Win32_OperatingSystem).Caption
|
||||
$vSCOSEdition = (Get-WmiObject -Class Win32_OperatingSystem).Caption
|
||||
if $vSCOSEdition -notlike "*LTSC*"
|
||||
if $vSCOSEdition -notlike "*Pro*"
|
||||
then
|
||||
{
|
||||
Write-Host "SC-SYS-ERR002: INCORRECT OS EDITION"
|
||||
Write-Host "This system does not have Windows 10 LTSC installed."
|
||||
Write-Host "Please reinstall Windows 10 with a LTSC build to run Sweetcade."
|
||||
Write-Host "Sweetcade is only tested on LTSC builds of Windows 10 at this time."
|
||||
Write-Host "If this error has appeared on a system with LTSC installed please open a issue on Git https://git.sdf.org/camoy/Sweetcade"
|
||||
Write-Host "This system does not have Windows 10 Pro installed."
|
||||
Write-Host "Please reinstall Windows 10 with the Pro Edition to run Sweetcade."
|
||||
Write-Host "Sweetcade is only tested on Pro editions of Windows 10 at this time."
|
||||
Write-Host "If this error has appeared on a system with a Pro edition installed please open a issue on Git https://git.sdf.org/camoy/Sweetcade"
|
||||
Write-Host "This script will now terminate in 60 seconds."
|
||||
Start-Sleep -Seconds 60
|
||||
Exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user