PackageDeployment Module Help

Package Deployment Module

Add-PrinterConnection Cmdlet

Version 4.0.0.5

Add-PrinterConnection

Synopsis

Add Windows Network Printer Connection

Syntax

Add-PrinterConnection [-ConnectionName] <String> [[-Context] <String>] [-ContinueOnError] [<CommonParameters>]

Description

Use this command to set up a network printer connection and to install network printers.

Parameters

-ConnectionName <String>

Describes the printer.

Required

True

Position

0

Accepts pipeline input

False

-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

1

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

#TODO#

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

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