This is only meant for desktop x86_64 Windows 10 and 11. The script requires a restart to fully apply.
I cannot figure out how to remove some default apps on windows 11 (spotify, linkedin, whatsapp, etc) as they dont appear as appx packages, so you will have to remove them manually. https://answers.microsoft.com/en-us/windows/forum/all/uninstall-pre-not-installed-spotify-whatsapp-etc/328d585c-9764-4407-9fac-f57c78b0dade