Update plug.removeDefaultApps.ps1

This commit is contained in:
Belim 2024-04-20 12:33:13 +02:00 committed by GitHub
parent d0ae59b0f8
commit 0d244bc5b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,8 +50,8 @@ $apps = @(
"Microsoft.YourPhone" "Microsoft.YourPhone"
"Microsoft.ZuneMusic" "Microsoft.ZuneMusic"
"Microsoft.ZuneVideo" "Microsoft.ZuneVideo"
"Microsoft.SkypeApp" "Microsoft.SkypeApp"
"Clipchamp.Clipchamp" "Clipchamp.Clipchamp"
# Threshold 2 apps # Threshold 2 apps
"Microsoft.CommsPhone" "Microsoft.CommsPhone"
@ -118,8 +118,8 @@ $apps = @(
"king.com.BubbleWitch3Saga" "king.com.BubbleWitch3Saga"
"king.com.CandyCrushSaga" "king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga" "king.com.CandyCrushSodaSaga"
"BytedancePte.Ltd.TikTok" "BytedancePte.Ltd.TikTok"
"Facebook.InstagramBeta" "Facebook.InstagramBeta"
# apps which cannot be removed using Remove-AppxPackage # apps which cannot be removed using Remove-AppxPackage
#"Microsoft.BioEnrollment" #"Microsoft.BioEnrollment"
@ -140,7 +140,7 @@ foreach ($app in $apps) {
($appxprovisionedpackage).Where( {$_.DisplayName -EQ $app}) | ($appxprovisionedpackage).Where( {$_.DisplayName -EQ $app}) |
Remove-AppxProvisionedPackage -Online Remove-AppxProvisionedPackage -Online
} Write-Host "WinPilot has completed the process and removed all possible apps." } Write-Host "Clippy has completed the process and removed all possible apps."
# Prevents Apps from re-installing # Prevents Apps from re-installing
$cdm = @( $cdm = @(