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

[Kat_21] 1 Reputation point
2021-03-17T12:16:34.617+00:00

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
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,697 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 30,376 Reputation points Microsoft Vendor
    2021-03-18T03:34:13.377+00:00

    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.

    1 person found this answer helpful.

  2. [Kat_21] 1 Reputation point
    2021-03-22T13:39:55.633+00:00

    80060-image.png

    0 comments No comments