question

Kat21-6813 avatar image
0 Votes"
Kat21-6813 asked RoyLi-MSFT edited

Difference between commands "get-appxpackage" AND "get-appxprovisionedpackage"

I wanted to understand what the difference was between the commands "get-appxpackage" AND "get-appxprovisionedpackage". Is the former computer-focused and the latter wim-image-focused? TIA K

windows-10-generalwindows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered Dgorter commented

Hi,

Get-AppxProvisionedPackage
Gets information about app packages (.appx) in an image that will be installed for each new user.

Get-AppxPackage
Gets a list of the app packages that are installed in a user profile.


Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Ian. :)

So when customizing a WIM image; are both of these commands relevant to WIM image?

K

0 Votes 0 ·

The Get-AppxProvisionedPackage cmdlet gets information about app packages in an image.

0 Votes 0 ·

Thanks, figured that was the case with the Get-AppxProvisionedPackage command as I did use this with WIM image.

So the other command (Get-AppxPackage) is relevant to the OS it's being issued from and not a WIM related cmdlet?

0 Votes 0 ·
Show more comments
Kat21-6813 avatar image
0 Votes"
Kat21-6813 answered

80060-image.png



image.png (30.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.