Windows 8 App Management Toolkit for Powershell is the must have cmdlet for automating and managing Windows Store apps.
The toolkit enhances the functionality of the existing Get-AppxPackage method by adding methods to
- Launch, suspend, and terminate Windows Store apps
- Check if the Start screen or any Windows Store apps are visible on any monitors
- Discover the capabilities of applications such as background tasks
One of note is that the source of all the above mentioned cmdlets is available. So you can see the C#, P/Invokes that makes the magic happen...