Skip to content

Commit

Permalink
Remove DISM from AppX removal listings
Browse files Browse the repository at this point in the history
DISM is a system component. It will never be an AppX package. This is unnecessary
  • Loading branch information
CodingWonders committed Oct 2, 2024
1 parent c72816d commit 669910f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion functions/private/Invoke-WinUtilMicroWin-Helper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 669910f

Please sign in to comment.