From f4b3712fe8d76f7e7e1b9c0a6aae31a6fe3f8d5e Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Sun, 21 Nov 2021 17:06:54 +0100 Subject: [PATCH] Update PreChecks.ps1 --- PreChecks.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PreChecks.ps1 b/PreChecks.ps1 index a5470fb..5deaed1 100644 --- a/PreChecks.ps1 +++ b/PreChecks.ps1 @@ -15,11 +15,11 @@ Function Get-DesktopPC Function Get-WindowsCompatibleOS { $build = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -if ($build.CurrentBuild -ge 22000 -and ($($build.editionid -like 'Professional*') -or $($build.editionid -like 'Enterprise*'))) { +if ($build.CurrentBuild -ge 19041 -and ($($build.editionid -like 'Professional*') -or $($build.editionid -like 'Enterprise*'))) { Return $true } Else { - Write-Warning "Only Windows 11 Pro or Enterprise is supported" + Write-Warning "Only Windows 10 20H1 or Windows 11 (Pro or Enterprise) is supported" Return $false } }