Powershell Script To Remove Windows 11 Bloatware _best_ Direct
Write-Log "Found $($bloatwareApps.Count) target applications for removal" -Color Yellow $removed = @() $failed = @() Remove apps for current user Write-Log "Removing bloatware for current user..." -Color Cyan foreach ($app in $bloatwareApps) try $package = Get-AppxPackage -Name $app -ErrorAction SilentlyContinue if ($package) Remove-AppxPackage -Package $package -ErrorAction Stop Write-Log "SUCCESS: Removed $app" -Color Green $removed += $app
Write-Log "`nDisabling telemetry services..." -Color Cyan $telemetryServices = @( "DiagTrack", "dmwappushservice", "diagnosticshub.standardcollector.service" ) powershell script to remove windows 11 bloatware
if ($failed.Count -gt 0) Write-Log "`nFailed applications:" -Color Yellow foreach ($app in $failed) Write-Log " - $app" -Color Yellow Write-Log "Found $($bloatwareApps