Prevent unnecessary console output

This commit is contained in:
Manuel Thalmann 2023-07-03 13:04:27 +02:00
parent fd56f9e8cd
commit 49a85b00de

View file

@ -27,7 +27,7 @@ $Global:SetupConfigPostprocessor = {
}
}
$partitionCreations.AppendChild($newPartition);
$null = $partitionCreations.AppendChild($newPartition);
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
$newModification = $partitionModifications.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
@ -44,7 +44,7 @@ $Global:SetupConfigPostprocessor = {
}
}
$partitionModifications.AppendChild($newModification);
$null = $partitionModifications.AppendChild($newModification);
}
. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";