Using a mix of WPF for the front end and powershell for the back end I made a little demo application to make an Arcade user interface for windows. The application relied on WASP.dll and windows APIs to manipulate running processes.
Check out fullscreen.ps1 for the majority of what it does.
Gif sums up it’s functionality. Everything was hard-coded so getting it to run somewhere else would be a pain.