Skip to main content

Opening UWP apps like Edge in Full Screen Mode

By February 3, 2023June 27th, 2023No Comments

You can run Microsoft Edge and other UWP (Universal Windows Platform) apps in fullscreen mode by pressing the key combo Win + Shift + Enter. But what if you want to open it from the command line in full-screen mode? There is no command-line switch (like -kiosk from Chrome) to start it full screen so I created a small Powershell Script that will open any UWP app in full-screen mode by sending the keystroke.

The script itself is pretty simple, we just open the UWP application and send the keystroke. The hard part was to send the Windows Key with Powershell, luckily Stefan Stranger created a function that will allow you the press the Windows Key from within Powershell.

So I combined that script with the right key combo and the start command and we are all set. You can download the script here from my Github Repository and run it as follows:

1.  .\StartUWPAppFullScreen.ps1 -app msedge -value ''