Created
November 27, 2021 17:03
-
-
Save ekardon/945918e6bbfa3f8d104819ba750f2c9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Example appxpackage manifest structure: | |
>(Get-Appxpackage *windowsstore* | Get-appxpackagemanifest).package | |
IgnorableNamespaces : uap mp rescap wincap build | |
xmlns : http://schemas.microsoft.com/appx/manifest/foundation/windows10 | |
mp : http://schemas.microsoft.com/appx/2014/phone/manifest | |
uap : http://schemas.microsoft.com/appx/manifest/uap/windows10 | |
rescap : http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities | |
wincap : http://schemas.microsoft.com/appx/manifest/foundation/windows10/windowscapabilities | |
build : http://schemas.microsoft.com/developer/appx/2015/build | |
Identity : Identity | |
PhoneIdentity : PhoneIdentity | |
Properties : Properties | |
Dependencies : Dependencies | |
Resources : Resources | |
Extensions : Extensions | |
Applications : Applications | |
Capabilities : Capabilities | |
Metadata : Metadata | |
#> | |
# Get App's FullName from partial package name | |
(Get-Appxpackage *windowsstore* | Get-appxpackagemanifest).package.identity.name | |
# Get App's version | |
(Get-Appxpackage *windowsstore* | Get-appxpackagemanifest).package.identity.version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment