Reporting on Printer Ports
Printer ports are critical, but people often are not sure what they really are. The general thought process seems to be that printer ports are those ambiguously named things that seem to have something to do with IP addresses. However, keep in mind that if printer ports are set incorrectly, print jobs may well vanish into cyberspace.
Figure 6-6 shows the printer ports as currently configured on a server.
Figure 6-6. An example of configured printer ports.
The ListPrinterPorts.ps1 script defines two command-line parameters, $strComputer and $help, that are used to configure the way the script executes when run. If no parameters ...
Get Windows PowerShell™ Scripting Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.