This is customised for my use based on ChrisTitusTech's script. You should use that one. For complete details check out https://christitus.com/debloat-windows-10-2020/
Paste this command into Powershell (admin):
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JVnEH'))