Skip to Content
Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
book

Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide

by Ed Wilson
October 2005
Beginner to intermediate
400 pages
12h 42m
English
Microsoft Press
Content preview from Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide
77Chapter 3: Using Basic WMI Queries
On Your Own
Lab 7 Exploring Win32_NTDomain
In this lab, you will explore the Win32_NTDomain class. This is a new class for Windows XP
and Windows Server 2003. Although this script can run on a workgroup computer running
Windows XP, the most interesting information will be obtained when your workstation has
access to the Microsoft Active Directory directory service. This script will not run on a com-
puter running Microsoft Windows 2000 and earlier.
1. Open the WMI template script, and sa
ve it as StudentLab7.vbs. Notice that the full name
of the WMI class is not listed.
2. Modify the
wmiQuery line so that you are making a query into the Win32_NTDomain
class. The modified line looks like the following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Windows® Scripting Self-Paced Learning Guide

Microsoft® Windows® Scripting Self-Paced Learning Guide

Ed Wilson

Publisher Resources

ISBN: 0735622310Catalog PageErrata