Add-Printer -Name "Accounting-HP" -DriverName "HP Universal Printing PCL 6" -PortName "IP_192.168.1.120" Note: The port must exist first. Create a standard TCP/IP port:
Add-PrinterPort -Name "IP_192.168.1.120" -PrinterHostAddress "192.168.1.120" Remove a printer and its driver: enable print management windows 11
If you manage more than 3 printers or any networked printers, Print Management is worth the learning curve. Windows 11 has streamlined many admin tasks, but sometimes "streamlined" means "hidden." The Print Management console is a throwback to an era when Microsoft trusted administrators to want detailed control—and it remains one of the most reliable tools in the ecosystem. enable print management windows 11
Remove-Printer -Name "Accounting-HP" Remove-PrinterDriver -Name "HP Universal Printing PCL 6" Export printers to a CSV (not as robust as .printerExport but good for documentation): enable print management windows 11