I was looking for a solution to automate the creation of a kiosk mode with a specific website in Microsoft Edge. Because this is easily possible in the UI and there is absolutely no useful documentation about this in pure PowerShell, I reverse-engineered the process. The result is a PowerShell script I put in the answer section