diff --git a/tiny11maker.ps1 b/tiny11maker.ps1 index ed3251c..74ef496 100644 --- a/tiny11maker.ps1 +++ b/tiny11maker.ps1 @@ -195,7 +195,7 @@ if (-not $architecture) { Write-Output "Mounting complete! Performing removal of applications..." -$packages = & 'dism' '/English' "/image:$($ScratchDisk)\scratchdir" '/Get-ProvisionedAppxPackages' | Out-Null +$packages = & 'dism' '/English' "/image:$($ScratchDisk)\scratchdir" '/Get-ProvisionedAppxPackages' | ForEach-Object { if ($_ -match 'PackageName : (.*)') { $matches[1] @@ -489,3 +489,4 @@ Stop-Transcript exit +