This commit is contained in:
Malix 2024-10-16 18:33:27 +02:00 committed by GitHub
commit fb58cbb1f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,7 +140,7 @@ function Remove-Packages {
$_ -NotLike "*.NET*" -AND
$_ -NotLike "*Store*" -AND
$_ -NotLike "*VCLibs*" -AND
$_ -NotLike "*AAD.BrokerPlugin",
$_ -NotLike "*AAD.BrokerPlugin" -AND
$_ -NotLike "*LockApp*" -AND
$_ -NotLike "*Notepad*" -AND
$_ -NotLike "*immersivecontrolpanel*" -AND
@ -240,19 +240,19 @@ function Remove-ProvisionedPackages() {
{
$appxProvisionedPackages = Get-AppxProvisionedPackage -Path "$($scratchDir)" | Where-Object {
$_.PackageName -NotLike "*AppInstaller*" -AND
$_.PackageName -NotLike "*Store*" -and
$_.PackageName -NotLike "*Notepad*" -and
$_.PackageName -NotLike "*Printing*" -and
$_.PackageName -NotLike "*YourPhone*" -and
$_.PackageName -NotLike "*Xbox*" -and
$_.PackageName -NotLike "*WindowsTerminal*" -and
$_.PackageName -NotLike "*Calculator*" -and
$_.PackageName -NotLike "*Photos*" -and
$_.PackageName -NotLike "*VCLibs*" -and
$_.PackageName -NotLike "*Paint*" -and
$_.PackageName -NotLike "*Gaming*" -and
$_.PackageName -NotLike "*Extension*" -and
$_.PackageName -NotLike "*SecHealthUI*" -and
$_.PackageName -NotLike "*Store*" -AND
$_.PackageName -NotLike "*Notepad*" -AND
$_.PackageName -NotLike "*Printing*" -AND
$_.PackageName -NotLike "*YourPhone*" -AND
$_.PackageName -NotLike "*Xbox*" -AND
$_.PackageName -NotLike "*WindowsTerminal*" -AND
$_.PackageName -NotLike "*Calculator*" -AND
$_.PackageName -NotLike "*Photos*" -AND
$_.PackageName -NotLike "*VCLibs*" -AND
$_.PackageName -NotLike "*Paint*" -AND
$_.PackageName -NotLike "*Gaming*" -AND
$_.PackageName -NotLike "*Extension*" -AND
$_.PackageName -NotLike "*SecHealthUI*" -AND
$_.PackageName -NotLike "*ScreenSketch*"
}