Intune Platform Script · Removes preinstalled junk apps for all users on the device
Runs as SYSTEM — required to remove provisioned packages from the device image. If you run this as the logged-on user, Remove-AppxProvisionedPackage will fail silently and new user accounts will still get the bloat.
Two commands per app: Remove-AppxPackage kills it for existing users, Remove-AppxProvisionedPackage removes it from the Windows image so new accounts don't get it either.
Script
1
Define bloatware list array
Edit this list to match what you want gone. Add or remove package names as needed.