Quiz Yourself

Q.

What is the WMI class that contains a wealth of information about printers?

A.

The Win32_Printer class contains a lot of information about printers.

Q.

What is the WMI class that represents a print job generated by a Windows application?

A.

The Win32_PrintJobs class represents this print job.

Q.

What collection property contains the number of items in the collection?

A.

The Count property contains the number of items.

Q.

What can be added to a WMI query to reduce the number of records returned?

A.

A Where clause can be added to the query.

Get Microsoft® Windows® Scripting Self-Paced Learning 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.