Compare commits

...

3 commits

2 changed files with 4 additions and 4 deletions

View file

@ -141,7 +141,7 @@ function disable_shitty_feature {
# $pkg : Package (Object) # $pkg : Package (Object)
function remove_shitty_modern_app { function remove_shitty_modern_app {
param($pkg) param($pkg)
Write-Host -NoNewLine "$($pkg.Name) :" Write-Host -NoNewLine "`t$($pkg.Name) :"
try { try {
$pkg | Remove-AppxPackage $pkg | Remove-AppxPackage
} }
@ -221,7 +221,7 @@ Write-Host -ForegroundColor White "`nRemove provisioned modern apps :"
Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -in $(Get-Content "lib\apps.txt")} | foreach { Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -in $(Get-Content "lib\apps.txt")} | foreach {
remove_provisioned_shitty_modern_app $_ remove_provisioned_shitty_modern_app $_
} }
Write-Host -ForegroundColor White "`nRemove tasks :"
foreach ($line in Get-Content "lib\tasks.txt") {remove_shitty_tasks $line } foreach ($line in Get-Content "lib\tasks.txt") {remove_shitty_tasks $line }
#Remove all OneDrive Stuff thanks to https://github.com/W4RH4WK/Debloat-Windows-10/ #Remove all OneDrive Stuff thanks to https://github.com/W4RH4WK/Debloat-Windows-10/

View file

@ -1,4 +1,4 @@
Internet-Explorer-Optional-amd64" Internet-Explorer-Optional-amd64
FaxServicesClientPackage FaxServicesClientPackage
WindowsMediaPlayer WindowsMediaPlayer
MediaPlayback MediaPlayback