mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-01 17:12:09 +00:00
Merge bd10fd6387
into fdd32f441f
This commit is contained in:
commit
fb58cbb1f1
@ -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*"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user