Share via


How to Start a Universal Windows App (UWP) from PowerShell in Windows 10?

Question

Monday, October 23, 2017 3:40 PM

In PowerShell, if I run Get-AppxPackage, I get a list of UWP apps installed, including mine. For example:

Name              : TonyHenrique.tonyuwpteste
Publisher         : CN=tTony
Architecture      : X64
ResourceId        :
Version           : 1.1.12.0
PackageFullName   : TonyHenrique.tonyuwpteste_1.1.12.0_x64__h4h4tmhvy8gfc
InstallLocation   : C:\Program Files\WindowsApps\TonyHenrique.tonyuwpteste_1.1.12.0_x64__h4h4tmhvy8gfc
IsFramework       : False
PackageFamilyName : TonyHenrique.tonyuwpteste_h4h4tmhvy8gfc
PublisherId       : h4h4tmhvy8gfc
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
Dependencies      : {Microsoft.NET.CoreRuntime.2.1_2.1.25801.2_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00.Debug_14.0.25805.1_x64__8wekyb3d8bbwe,
                    TonyHenrique.tonyuwpteste_1.1.12.0_neutral_split.scale-100_h4h4tmhvy8gfc}
IsPartiallyStaged : False
SignatureKind     : Developer
Status            : Ok

Now I want to start this app.

How to do this in PowerShell, or in cmd?

See: https://stackoverflow.com/questions/46893260/how-to-starting-a-universal-windows-apps-uwp-from-powershell-in-windows-10

All replies (2)

Monday, October 23, 2017 5:17 PM âś…Answered | 2 votes

Answered now on your stack overflow thread now;

start shell:AppsFolder\TonyHenrique.tonyuwpteste_h4h4tmhvy8gfc!App


Monday, October 23, 2017 4:13 PM | 1 vote

The Windows 10 IT Pro folks on TechNet will be better able to help with non-development issues like this.

IIRC, the Fall Creators Update includes a command line tool to launch UWP apps, which the TechNet folks may have docs for. Prior to that there isn't a general way to do so. You'd need to write a custom launcher app or set up the app to handle a custom URI then launch that