From b555a709b6db5118670ed29b9736674e7863b487 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Mon, 10 Oct 2022 19:14:29 +0300 Subject: [PATCH] Update Sophia.psm1 --- src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 index 74e7a81c..9d39c864 100644 --- a/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 +++ b/src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1 @@ -72,7 +72,7 @@ function Checks { $true { - if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2006)) + if ((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion" -Name UBR) -lt 2006) { # Check whether the OS minor build version is 2006 minimum # https://docs.microsoft.com/en-us/windows/release-health/release-information