UWP 一些powershell命令 - zLulus/My_Note GitHub Wiki

获得应用信息

Get-AppXpackage
Get-AppXpackage "AppName"

返回信息

Name              : xxx.UWP
Publisher         : CN=lulu
Architecture      : X64
ResourceId        :
Version           : 1.0.41.0
PackageFullName   : xxx.UWP_1.0.41.0_x64__n0bjfxtsjy2qw
InstallLocation   : \xxx\xxx.UWP\bin\x64\Debug\AppX
IsFramework       : False
PackageFamilyName : xxx.UWP_n0bjfxtsjy2qw
PublisherId       : n0bjfxtsjy2qw
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : True
NonRemovable      : False
Dependencies      : {Microsoft.UI.Xaml.2.7_7.2109.13004.0_x64__8wekyb3d8bbwe, Microsoft.NET.CoreRuntime.2.2_2.2.30527.2
                    _x64__8wekyb3d8bbwe, Microsoft.NET.CoreFramework.Debug.2.2_2.2.30316.1_x64__8wekyb3d8bbwe, Microsof
                    t.VCLibs.140.00.Debug_14.0.30035.0_x64__8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : None
Status            : Ok

外部启动uwp程序

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