Documents

APPX


appx or appx.path

Returns the path of Package.

Syntax

appx(packageName)
appx.path(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.path("WindowsTerminal")
// result:
// C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe
appx.name

Returns the display name of the Package.

Syntax

appx.name(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.name("WindowsTerminal")
// result:
// Windows Terminal
appx.id

Returns the full name of the Package.

Syntax

appx.id(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.id("WindowsTerminal")
// result:
// Microsoft.WindowsTerminal_1.11.3471.0_x64__8wekyb3d8bbwe
appx.family

Returns the family name of the Package.

Syntax

appx.family(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.family("WindowsTerminal")
// result:
// Microsoft.WindowsTerminal_8wekyb3d8bbwe
appx.version

Returns version of the Package.

Syntax

appx.version(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.version("WindowsTerminal")
// result:
// 1.11.3471.0
appx.shell

Return package settings to run.

Syntax

appx.shell(packageName)

Parameters

packageName
can be passed in full name or part of name.

Example

appx.shell("WindowsTerminal")
// result:
// shell:appsFolder\Microsoft.WindowsTerminal_8wekyb3d8bbwe!App

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub