Fix incorrect statement
This commit is contained in:
parent
eba9429d79
commit
d3dfc4c523
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue