Edit

Share via


Get-ProvisioningPackage

Gets information about the installed provisioning package.

Syntax

Id

Get-ProvisioningPackage
    [-PackageId] <String>
    [-LogsDirectoryPath <String>]
    [-WprpFile <String>]
    [-ConnectedDevice]

Path

Get-ProvisioningPackage
    [-PackagePath] <String>
    [-LogsDirectoryPath <String>]
    [-WprpFile <String>]
    [-ConnectedDevice]

Installed

Get-ProvisioningPackage
    [-AllInstalledPackages]
    [-LogsDirectoryPath <String>]
    [-WprpFile <String>]
    [-ConnectedDevice]

Description

The Get-ProvisioningPackage cmdlet gets information about the installed provisioning package.

The Get-ProvisioningPackage cmdlet is supported on Windows 11 client operating system only.

Examples

Example 1

PS C:\> Get-ProvisioningPackage -PackagePath c:\test\testppkg.ppkg

This command gets information about the testppkg.ppkg provisioning package.

Parameters

-AllInstalledPackages

Gets all the installed packages information.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:All

Parameter sets

Installed
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConnectedDevice

Gets the connected device information.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Device

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LogsDirectoryPath

Specifies the logs directory path.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Logs

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PackageId

Specifies the Id of a package.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Id

Parameter sets

Id
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PackagePath

Specifies the package path.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Path

Parameter sets

Path
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WprpFile

Specifies the name of a WPR profile file.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Wprp

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

Inputs

None

Outputs

Object