The PrinterManagement
module is a PowerShell module that provides cmdlets for managing the printers on Windows computers.
The PrinterManagement module includes commands for creating, modifying, and removing printers, getting a list of printers, printer configuration, and many more to manage printer drivers and their properties.
In this article, we will discuss printer commands available in the PrinterManagement module.
Printer Commands in PowerShell
Here are some of the commands available in the PrinterManagement module.
- Add-Printer – It adds a printer to the specified computer
- Add-PrinterDriver – It installs a printer driver on the specified computer.
- Add-PrinterPort – It installs a printer port on the specified computer.
- Get-PrinterConfiguration – It retrieves the configuration information of a printer.
- Get-Printer – It gets a list of printers installed on the computer.
- Get-PrinterDriver – It gets a list of printer drivers installed on the computer.
- Get-PrinterPort – It gets a list of printer ports installed on the computer.
- Get-PrinterProperty – It retrieves the printer properties for the specified printer.
- Get-PrinterJob – It retrieves the list of print jobs in the specified printer.
- Read-PrinterNfcTag – It reads the information about printers using an NFC tag.
- Remove-Printer – It deletes a printer from the specified computer.
- Remove-PrinterDriver – It deletes the printer driver from the computer.
- Remove-PrinterPort – It removes the specified printer port from the computer.
- Remove-PrintJob – It deletes a print job on the specified printer.
- Rename-Printer – It renames the specified printer.
- Restart-PrintJob – It restarts a print job on the specified printer.
- Resume-PrintJob – It resumes a print job on the specified printer.
- Set-PrinterConfiguration – It sets the configuration information for the specified printer.
- Set-Printer – It updates the configuration of an existing printer.
- Set-PrinterProperty – It updates the printer properties for the specified printer.
- Suspend-PrintJob – It suspends a print job on the specified printer.
- Write-PrinterNfcTag – It writes printer connection data to an NFC tag.
Conclusion
I hope the above article on the PrinterManagement module in PowerShell and its printer commands to manage printers in local or remote computers is helpful to you.
You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.