locked
How can I get the name of an app running via powershell

    Question

  • We are using some of the ideas found here http://blogs.msdn.com/b/windowsappdev/archive/2012/09/04/automating-the-testing-of-windows-8-apps.aspx#comments to automate the building and testing of our app. 

    We currently have a script that installs the app and then launches it using the Win8AppLaunch.exe refereneced in the article.  One of the problems we are having is that we cannot definitively detect that the app has launched. 

    Using powershell I can get a list of all the WWHHost apps currently running, ex.

    powershell Get-Process WWAHost

    but if multiple WWAHost apps are running, I do not have a way to detect that the proper one is running.  Is there any way to get or add identifying info so that this could be detected, perhaps through a process member?

    Tuesday, February 26, 2013 7:34 PM

Answers

  • You might be able to make some guesses if you can get the command line from PowerShell, but you'll have to ask in a PowerShell forum to know if that can be done and if so how.

    --Rob

    Wednesday, February 27, 2013 2:25 AM
    Moderator