Fix incorrect statement

This commit is contained in:
Manuel Thalmann 2023-07-03 14:34:39 +02:00
parent eba9429d79
commit d3dfc4c523

View file

@ -2,7 +2,7 @@
function Update-WindowsInstallation([Context] $context)
{
if ($context.GetUACState()) {
if (-not $context.GetUACState()) {
Write-Host "Upgrading Windows";
Write-Host "Preparing for Windows Update";
$null = Import-Module PSWindowsUpdate;