mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-04 10:12:09 +00:00
Remove DISM from AppX removal listings
DISM is a system component. It will never be an AppX package. This is unnecessary
This commit is contained in:
parent
c72816db49
commit
669910f792
@ -205,7 +205,6 @@ function Remove-ProvisionedPackages() {
|
||||
$appxProvisionedPackages = Get-AppxProvisionedPackage -Path "$($scratchDir)" | Where-Object {
|
||||
$_.PackageName -NotLike "*AppInstaller*" -AND
|
||||
$_.PackageName -NotLike "*Store*" -and
|
||||
$_.PackageName -NotLike "*dism*" -and
|
||||
$_.PackageName -NotLike "*Notepad*" -and
|
||||
$_.PackageName -NotLike "*Printing*" -and
|
||||
$_.PackageName -NotLike "*YourPhone*" -and
|
||||
|
Loading…
Reference in New Issue
Block a user