Important
Working on the latest supported Windows versions. Run Windows Update before following this guide.
1. Open Powershell > RUN AS ADMIN
2. Paste in irm https://gist.github.com/ave9858/c3451d9f452389ac7607c99d45edecc6/raw/UninstallEdge.ps1 | iex and press enter
3. Microsoft Edge will be completely uninstalled.
Note
The Microsoft Edge Update service might remain, this is normal as it is required for updating WebView2.

I've obviously tested it, and it does not work. This script was tested and bypasses added based on what actually works. You need to do proper testing before commenting