Hide output of DISM
commands
This commit is contained in:
parent
0605d9bcb0
commit
38c37c3564
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue