Reverse engineered prompt

Build me a simple Windows tool that removes Microsoft Edge, with an option to also remove WebView if I choose. I want both a regular executable and a batch script version, plus a silent executable with no terminal window so it can be used from Task Scheduler. The default should be the safer Edge only option, and there should also be a mode that removes the Appx version of Edge without touching WebView.

Please make it easy for a normal user to run, with clear warnings that removing Edge can cause Windows Update problems unless updates are finished first, and that some apps rely on WebView, like Xbox, Roblox, Photos editing, PowerToys add ons, and certain IDE or utility apps. It would be great if there were separate download ready builds for Edge only, Edge plus WebView, and the silent version. Also include a simple way to reinstall Edge or WebView later, and a helper step or link for fixing update issues if they happen. Look up current Microsoft docs online if you need to.

Want more depth? Deep Reverse