Quiz Yourself

Q.

What is the advantage of obtaining user and computer information via ADSysInfo as opposed to WshNetwork?

A.

The advantage of using ADSysInfo to obtain user and computer information is that ADSysInfo returns the distinguished user name, which you can use to directly bind to Active Directory to query information.

Q.

What does the Join function do?

A.

The Join function puts elements of an array together into a single string.

Q.

What are three tasks that WshNetwork can perform?

A.

WshNetwork is able to map to network shares, remove network shares, and map to network printers.

Q.

What does RefreshSchemaCache do?

A.

RefreshSchemaCache is used to refresh the local copy of the Active Directory schema on a computer.

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.