This is great, although my use-case is a bit different to your original use case. I would love a group policy version (xml or something) of this that can be centrally setup for any PCs we unbox. I think InTune itself can actually do most of this stuff if you can track down the right settings ...
The trouble is keeping it up to date between Windows updates because they auto-install the bloatware.
> The trouble is keeping it up to date between Windows updates
Just run the script again after a major update. Only takes a minute. And don't let Windows update automatically. I have used this script and it works well.
Atlas OS default setup seems a lot like Windows Server out of the box. Server 2022 (with gui) comes with Windows 10 look and feel and is very lightweight in terms of features, no search, no background tasks, etc. Most desktop apps are compatible with it.
The trouble is keeping it up to date between Windows updates because they auto-install the bloatware.