WMI Learning Notes (2) - Learning WMI resources

xiaoxiao2021-03-06  75

Copyright Notice: You can reprint anything, you must indicate the original source and author information in hyperlink when reprint.

What is WMI?

WMI is a component of the Windows operating system, WMI is CIMOM (Public Information Model Object Manager-Common Information Model Object Manager), is an object that describes operating system components - including system, applications, networks, drivers, and other management units. The database provides a common interface for accessing the operating system constituent unit for the MMC and script programs. Different APIs do not need to use different parts of the WMI, Toolware and Script Programs Access the operating system.

We can use WMI to write some automated scripts to make management work simple and wonderful.

Learning WMI resources:

Microsoft China-TechNet Script Center: Here is the most comprehensive, authoritative official script information center, beginners can get started from here, experts can find questions here.

WMI script Getting Started: Part 1: The first Scripting CLINIC column of Scripting Guys demonstrates how to create a large useful Windows system management script using the WMI script library.

WMI script Getting Started: Part I: Scripting Guys Continued their discussion to write WMI scripts, which focuses on the CIM repository and CIM classes to help you use the WMI scripts all powerful features.

WMI official tutorial: English version of the official tutorial, divided into three chapters: How to learn WIM, how to use the template (Schema) in WMI, extend the WMI template. Written in 1999, it should be Microsoft's documentation when WMI, but it is very comprehensive, informative, and now also apply.

Scriptomatic: If you look at the name, you will know, you will automatically write the script. This tool automatically lists all WMI objects on the machine and automatically generates encoding, which is very suitable for me this lazy.

Wmits: There are four tools in this kit: WMI CIM Studio / WMI Event Registration / WMI Event Viewer / WMI Object Browser. The most commonly used STUDIO, this similar to Scriptomatic, the difference is that this Studio is more detailed, more clear understanding of the hierarchical understanding of the object in WMI, and an interpretation of the performance monitor, each property, object The method is explained.

TechNet Script Center Sample Scripts: Microsoft's official sample script. Quite comprehensive, basic Windows system manages most common tasks, including this script center. Two lazy must-have tools.

Specific application example:

AD Environment The WMI script of the server monitoring the alarm function

Use the WMI to write scripts to monitor the performance of the Windows server

转载请注明原文地址:https://www.9cbs.com/read-120901.html

New Post(0)