PowerShell Logo Small

Add-PrinterDriver



This is the built-in help made by Microsoft for the command 'Add-PrinterDriver', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Installs a printer driver on the specified computer.

SYNTAX


Add-PrinterDriver [-Name] <String> [[-InfPath] <String>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ComputerName <String>]
[-PrinterEnvironment <String>] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-PrinterDriver cmdlet installs a printer driver on the specified computer.


You cannot use wildcard characters with Add-PrinterDriver. You can use Add-PrinterDriver in a Windows PowerShell remoting session.


You need administrator privileges to use Add-PrinterDriver.



<

RELATED LINKS

Get-PrinterDriver
Remove-PrinterDriver

REMARKS

<

Examples


Example 1: Add a printer driver

PS C:\> Add-PrinterDriver –Name "Driver Name"



This command installs the printer driver specified by Name on the local computer.




Example 2: Add a printer driver on remote computer

PS C:\> Add-PrinterDriver –Name "Driver Name" -ComputerName "printServer"



This command installs the printer driver specified by Name on the remote computer specified by ComputerName.