1
0
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:
CodingWonders 2024-10-02 09:55:58 +02:00
parent c72816db49
commit 669910f792

View File

@ -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