Get AppxProvisionedPackage - PowerShell


The Get-AppxProvisionedPackage cmdlet retrieves information about provisioned packages on the system. Provisioned packages are apps that are preinstalled by the device manufacturer or mobile operator.


Get-AppxProvisionedPackage [[-Name] <string>] [-PackageFamilyName <string>] [-PackageFullName <string>] [[-Type] <ProvisionedPackageType>]


  • -Name: Specifies the name of the provisioned package.
  • -PackageFamilyName: Specifies the family name of the provisioned package.
  • -PackageFullName: Specifies the full name of the provisioned package.
  • -Type: Specifies the type of provisioned package. Valid values are:
    • Device
    • Manufacturer
    • Operator
    • OEM


Example 1

Get all provisioned packages on the system:


Example 2

Get provisioned packages by package family name:

Get-AppxProvisionedPackage -PackageFamilyName "Microsoft.WindowsCalculator"

Example 3

Get provisioned packages by type:

Get-AppxProvisionedPackage -Type Device

Common Issues

Error: The specified package was not found.

  • Ensure the provisioned package name or family name is specified correctly.
  • Check if the package is still installed on the system.


Integration with Appx Packaging

The Get-AppxProvisionedPackage cmdlet can be used in conjunction with the Appx Packaging API to manage provisioned packages. For example, the following script installs a provisioned package:

$packagePath = "C:\path\to\package.msix"
$provisionedPackage = Get-AppxProvisionedPackage -Name "MyProvisionedPackage"
if (-not $provisionedPackage) {
  Add-AppxProvisionedPackage -PackagePath $packagePath -Name "MyProvisionedPackage"
  • Add-AppxProvisionedPackage
  • Uninstall-AppxProvisionedPackage