Install-ProvisioningPackage

Install .PPKG package onto the local machine.

Syntax

Install-ProvisioningPackage
       [-PackagePath] <String>
       [-ForceInstall]
       [-QuietInstall]
       [-LogsDirectoryPath <String>]
       [-WprpFile <String>]
       [-ConnectedDevice]

Description

This cmdlet is used to install .ppkg files that are generated and exported by the Windows Configuration Designer tool.

You can use this cmdlet to install a .ppkg file interactively or silently by specifying the -QuietInstall switch parameter.

The default is an interactive install.

Examples

Example 1

PS C:\> Install-ProvisioningPackage -PackagePath C:\mypackage.ppkg -QuietInstall

This will install the mypackage.ppkg file silently without customer interaction.

Parameters

-ConnectedDevice

{{Fill ConnectedDevice Description}}

Type:SwitchParameter
Aliases:Device
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceInstall

{{Fill ForceInstall Description}}

Type:SwitchParameter
Aliases:Force
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogsDirectoryPath

{{Fill LogsDirectoryPath Description}}

Type:String
Aliases:Logs
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PackagePath

Path to provisioning package

Type:String
Aliases:Path
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-QuietInstall

Quietly installs the package without any customer interaction.

Type:SwitchParameter
Aliases:Quiet
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WprpFile

{{Fill WprpFile Description}}

Type:String
Aliases:Wprp
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object