From b994179a7efd156b02e210260c38afe552aa4772 Mon Sep 17 00:00:00 2001 From: Ishan Sital Date: Thu, 20 May 2021 13:21:06 +0200 Subject: [PATCH] Update requirements messaging --- stage1.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage1.ps1 b/stage1.ps1 index c0feea0..460bc7a 100644 --- a/stage1.ps1 +++ b/stage1.ps1 @@ -9,9 +9,9 @@ Write-Host "Step 1 - Check requirements for running WSL 2" $info=(Get-ComputerInfo | Select-Object WindowsVersion, OsBuildnumber) If ([int]$info.WindowsVersion -ge $Global:MinWinVer ) { - "OK. Windows Version is: {0}" -f $info.WindowsVersion, $Global:MinWinVer + "OK. Windows Version {0} >= {1}" -f $info.WindowsVersion, $Global:MinWinVer If ([int]$info.OsBuildnumber -ge $Global:MinBuildVer ) { - "OK. Windows Build Number is: {0}" -f $info.OsBuildnumber, $Global:MinBuildVer + "OK. Windows Build Number {0} >= {1}" -f $info.OsBuildnumber, $Global:MinBuildVer } Else { "Error. Windows Build Number is: {0}, but should be >= {1} to install WSL2" -f $info.OsBuildnumber, $Global:MinBuildVer Exit