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

  • Question

  • 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__h3h3tmhvy8gfc
    InstallLocation   : C:\Program Files\WindowsApps\TonyHenrique.tonyuwpteste_1.1.12.0_x64__h3h3tmhvy8gfc
    IsFramework       : False
    PackageFamilyName : TonyHenrique.tonyuwpteste_h3h3tmhvy8gfc
    PublisherId       : h3h3tmhvy8gfc
    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_h3h3tmhvy8gfc}
    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


    Monday, October 23, 2017 3:40 PM

Answers

  • Answered now on your stack overflow thread now;

    start shell:AppsFolder\TonyHenrique.tonyuwpteste_h3h3tmhvy8gfc!App

    • Marked as answer by Tony Henrique Monday, October 23, 2017 7:32 PM
    Monday, October 23, 2017 5:17 PM

All replies

  • 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 


    Monday, October 23, 2017 4:13 PM
  • Answered now on your stack overflow thread now;

    start shell:AppsFolder\TonyHenrique.tonyuwpteste_h3h3tmhvy8gfc!App

    • Marked as answer by Tony Henrique Monday, October 23, 2017 7:32 PM
    Monday, October 23, 2017 5:17 PM