Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Launch Win8 or Win10 apps using powershell

$
0
0

I am trying to write an automated test suite for an app I am developing. Once opened, I can simulate interaction with the app using the WASP Snap-In. However, I have to manually open the app before I can interact with it. I want my scripts to launch the app automatically.

How do you launch an app using powershell? I can launch .exe files with 'Start-Process', but Windows 8 apps don't have an executable, and nothing in the install directory seems to work.

I can't find any documentation about this anywhere, which is really confusing to me. This seems like it should be a really simple and common operation. If anyone can show me the code necessary to launch a windows app (Windows Store for example) it would be incredibly helpful.

Thanks for your help


Viewing all articles
Browse latest Browse all 6937

Trending Articles