Don't preserve whitespaces when loading xml
This commit is contained in:
parent
bdf72fadbf
commit
d0685c5054
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ $null = New-Module {
|
||||||
|
|
||||||
static [xml] GetAppAssociations() {
|
static [xml] GetAppAssociations() {
|
||||||
[xml] $associations = [xml]::new();
|
[xml] $associations = [xml]::new();
|
||||||
$associations.PreserveWhitespace = $true;
|
|
||||||
$associations.LoadXml(((DISM /Online /Get-DefaultAppAssociations) | Select-Object -Skip 6 | Select-Object -SkipLast 2 | Out-String));
|
$associations.LoadXml(((DISM /Online /Get-DefaultAppAssociations) | Select-Object -Skip 6 | Select-Object -SkipLast 2 | Out-String));
|
||||||
return $associations;
|
return $associations;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue