Hide output of DISM commands

This commit is contained in:
Manuel Thalmann 2024-08-15 13:57:15 +02:00
parent 0605d9bcb0
commit 38c37c3564

View file

@ -104,7 +104,7 @@ $null = New-Module {
$writer = [XmlWriter]::Create($configFile.FullName, $writerSettings); $writer = [XmlWriter]::Create($configFile.FullName, $writerSettings);
$document.Save($writer); $document.Save($writer);
$writer.Dispose(); $writer.Dispose();
DISM /Online "/Import-DefaultAppAssociations:$($configFile.FullName)"; $null = DISM /Online "/Import-DefaultAppAssociations:$($configFile.FullName)";
Remove-Item $configFile; Remove-Item $configFile;
} }
} }