Prevent unnecessary console output

This commit is contained in:
Manuel Thalmann 2023-07-03 13:04:27 +02:00
parent 347f1ae462
commit 0617938d3c

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";