PackageDeployment Module Help

Package Deployment Module

Install-PnpDevice Cmdlet

Version 4.0.0.5

Install-PnpDevice

Synopsis

Installing Plug & Play devices

Syntax

Install-PnpDevice [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]

Description

Every package for installing drivers contains the command InstallPnpDevices. You can move this command around within the script window in order to control the execution sequence of the device installation relative to other commands.
A Driver Package can support one or several devices. However, it always contains only one InstallPnpDevices command. You can control those devices for which you want the package to be executed using the Package properties dialog -> Plug & Play Devices.

Parameters

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

0

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".