# Telemetry and unwanted services "Microsoft.Wallet", "Microsoft.BingNews", "Microsoft.BingWeather", "Microsoft.BingSports", "Microsoft.BingFinance", "Microsoft.Microsoft3DViewer", "Microsoft.MicrosoftPowerBIForWindows", "Microsoft.MicrosoftTranslator" )
catch Write-Log "FAILED: Could not remove OneDrive - $_" -Color Red powershell script to remove windows 11 bloatware
Write-Log "`nRemoving provisioned packages for new users..." -Color Cyan foreach ($app in $bloatwareApps) try Where-Object $ .DisplayName -eq $app if ($provisioned) Remove-AppxProvisionedPackage -Online -PackageName $provisioned.PackageName -ErrorAction Stop Write-Log "SUCCESS: Removed provisioned package $app" -Color Green # Telemetry and unwanted services "Microsoft
if ($failed.Count -gt 0) Write-Log "`nFailed applications:" -Color Yellow foreach ($app in $failed) Write-Log " - $app" -Color Yellow # Telemetry and unwanted services "Microsoft.Wallet"
Write-Log "`n========== REMOVAL SUMMARY ==========" -Color Cyan Write-Log "Total apps targeted: $($bloatwareApps.Count)" -Color White Write-Log "Successfully removed: $($removed.Count)" -Color Green Write-Log "Failed to remove: $($failed.Count)" -Color Red