This script has evolved and is now improved with a new UI and multiple other fixes @ https://github.com/ChrisTitusTech/winutil
aram535/win10script
This is the Ultimate Windows 10 Script from a creation from multiple debloat scripts and gists from github.
PowerShellMIT