Modify the script to add AppX apps you want to remove and/or comment # lines of apps you want to keep.
I only tested on Windows 10 1511 and 1607 so I don't know if it works well with newer builds
I used this to make this script : https://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/