From 0617938d3c29eb48e8d75da51c25e97cb5e6813b Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Jul 2023 13:04:27 +0200 Subject: [PATCH] Prevent unnecessary console output --- profiles/DerGeret/Windows/Setup.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";