Print Management Cmdlets in Windows PowerShell
Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.
Print Management
This reference provides cmdlet descriptions and syntax for all print management cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
cmdlet | Description |
---|---|
Adds a printer to the specified computer. |
|
Installs a printer driver on the specified computer. |
|
Installs a printer port on the specified computer. |
|
Gets the configuration information of a printer. |
|
Retrieves a list of printers installed on a computer. |
|
Retrieves the list of printer drivers installed on the specified computer. |
|
Retrieves a list of printer ports installed on the specified computer. |
|
Retrieves printer properties for the specified printer. |
|
Retrieves a list of print jobs in the specified printer. |
|
Removes a printer from the specified computer. |
|
Deletes printer driver from the specified computer. |
|
Removes the specified printer port from the specified computer. |
|
Removes a print job on the specified printer. |
|
Renames the specified printer. |
|
Restarts a print job on the specified printer. |
|
Resumes a suspended print job. |
|
Sets the configuration information for the specified printer. |
|
Updates the configuration of an existing printer. |
|
Modifies the printer properties for the specified printer. |
|
Suspends a print job on the specified printer. |
Nota
To list all the cmdlets that are available, use the Get-Command –Module PrintManagement
cmdlet.
For more information about, or for the syntax of, any of the cmdlets, use the Get-Help
<cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:
● Get-Help
<cmdlet name> -Detailed
● Get-Help
<cmdlet name> -Examples
● Get-Help
<cmdlet name> -Full