Port Provides information about the I/O ports on the system. For example, if you
wanted to detect any failed ports, you could type WMIC Port Where(NOT Status="OK") GET
Caption,Description and press Enter. Notice the use of the word NOT to indicate that the
ports aren??™t OK. You??™ll see one entry for each port. The output of this alias is somewhat useless
because it doesn??™t tell you the name of each port; you must correlate the address range to the
actual port.
PortConnector Provides access to the physical ports on the system. You can use this feature
to find the physical port names (such as LPT1), their connection type, and port type. The listing
includes both internal and external connectors. It even includes the motherboard ports, such as
fan connectors. To obtain a listing of the most commonly used port information type WMIC
PortConnector GET ConnectorType,InternalReferenceDesignator,PortType and press
Enter.
52 CHAPTER 3 PERFORMING ESSENTIAL MAINTENANCE TASKS
Printer Manages the logical printer characteristics for the system. The list of printers includes
any mapped printer connections. Use the CALL verb to access any of these management methods:
AddPrinterConnection, CancelAllJobs, Pause, PrintTestPage, RenamePrinter, Reset,
Resume, SetDefaultPrinter, and SetPowerState.
Pages:
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192