Create a WMI/ADSI script that gathers Windows system information across your domain

Source: Addison Wesley Professional

Favorite

Free registration required

This sample chapter from Managing Windows with VBScript and WMI offers systems administrators a straightforward guide to scripting, including a ready-made example script accompanied by complete line-by-line explanations.

This sample chapter from Managing Windows with VBScript and WMI walks Windows administrators through the process of designing, writing, testing, and debugging a complete WMI/ADSI script from scratch. The example script is designed to accomplish three tasks:
  • Query a list of computers from the domain.
  • Query information from each computer.
  • Write information out to a text file.

    The chapter models the book's overall approach of demystifying script creation by breaking down the job into smaller tasks, then developing reusable prototype code for each task, using wizards, examples from the book or online script libraries. The chapter's sample script demonstrates VBScript's flexibility for automating common administrative tasks and simplifying complex ones.



    Title: Managing Windows with VBScript and WMI
    ISBN: 0321213343
    Published: March 2004
    Author: Don Jones
    Chapter: Chapter 20: Putting It All Together: Your First WMI/ADSI Script
    Published by Addison Wesley Professional

  • Format:PDF Size:650.00
    Version:1.0 Date:May 2006
    Downloads:5815