I am trying to write a powershell script for windows 10 that will automatically launch a Metro-style app.
The Start-Process
cmdlet seems like it should work, but I cannot get it to launch anything unless I provide a path to the .exe
For example, the following input works:
Start-Process 'C:\Program Files\Internet Explorer\iexplore.exe'
Unfortunately, Metro-style apps do not have an executable file. What file do I need to use to launch them? If I wanted to launch Windows Store for example, how would I do that?
Thanks
Store Apps can only be started by the shell. Try this:
explorer.exe shell:AppsFolder\Microsoft.WindowsAlarms_8wekyb3d8bbwe!App