minor wording change

This commit is contained in:
2025-09-24 14:34:36 -04:00
parent d4acdaae9e
commit d6653c4554
+1 -1
View File
@@ -39,7 +39,7 @@ Try
{
$SystemDrive = $Env:SystemDrive.TrimEnd('\')
If ( (Get-CimInstance -ClassName Win32_Volume -Filter "DriveLetter = '$SystemDrive'" -ErrorAction Stop).FreeSpace -lt 64GB ) { Write-Output "This endpoint does not have at least 64GB of storage on the system drive" ; Exit 1 }
Else { Write-Output "This endpoint has at least 64GB of storage on the system drive" }
Else { Write-Output "This endpoint has at least 64GB of free space on the system drive" }
}
Catch { Write-Error "The free space on the system drive could not be determined`n"+$_.Exception.Message ; Exit 1 }