January 2008
Intermediate to advanced
688 pages
19h 12m
English
Using the WMI performance classes, you can obtain sophisticated and accurate performance information. The Win32_perfrawdata_perfdisk_logicaldisk WMI class provides access to the same performance counter information that is available via the Performance Monitor tool. All the classes in the tool, shown in Figure 7-9 are available by script. The good thing about being able to access this information from a script, rather than only through the Microsoft Management Console, is that you can more easily target specific properties and even take action if desired when values go out of spec.

Figure 7-9. Performance counter classes displayed ...
Read now
Unlock full access