diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index db43b17e..414e6fc3 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -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";