Get-AppxPackage for installed bundle information incorrect/misleading

%3CLINGO-SUB%20id%3D%22lingo-sub-2417681%22%20slang%3D%22en-US%22%3EGet-AppxPackage%20for%20installed%20bundle%20information%20incorrect%2Fmisleading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2417681%22%20slang%3D%22en-US%22%3E%3CP%3EI%20installed%20a%20bundle%20using%20Add-AppXPackage.%26nbsp%3B%20When%20I%20run%20Get-AppXPackage%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20internal%20name%20field%20from%20the%20bundle%20manifest%20appears%20in%20the%20list%2C%20rather%20than%20the%20name%20of%20the%20package.%26nbsp%3B%20The%20bundle%20was%20created%20in%20Visual%20Studio%20using%20a%20WAP%20and%20assigned%20a%20GUID%20for%20the%20name%20of%20the%20bundle).%20The%20packages%20in%20the%20bundle%20had%20a%20proper%20package%20name.%3C%2FLI%3E%0A%3CLI%3EThe%20%22IsBundle%22%20field%20reports%20false.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EOS%2021H1.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2481745%22%20slang%3D%22en-US%22%3ERe%3A%20Get-AppxPackage%20for%20installed%20bundle%20information%20incorrect%2Fmisleading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2481745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F146612%22%20target%3D%22_blank%22%3E%40TIMOTHY%20MANGAN%3C%2FA%3E%26nbsp%3BHi%2C%20thanks%20for%20posting%20this.%20We%20are%20looking%20into%20this%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

I installed a bundle using Add-AppXPackage.  When I run Get-AppXPackage:

  • The internal name field from the bundle manifest appears in the list, rather than the name of the package.  The bundle was created in Visual Studio using a WAP and assigned a GUID for the name of the bundle). The packages in the bundle had a proper package name.
  • The "IsBundle" field reports false.

OS 21H1.

2 Replies

@TIMOTHY MANGAN Hi, thanks for posting this. We are looking into this issue. 

@TIMOTHY MANGAN This is actually expected behavior. That command actually shows the main package in the bundle. If you want to see the name of the bundle itself you would use "PackageTypeFilter". For example: Get-AppxPackage *msix* -PackageTypeFilter Bundle

Thanks for letting us know about this! We will have to update these docs to be more clear here.