Leveraging WMI Scripting: Using Windows Management Instrumentation to Solve Windows Management Problems

Scripts listed in this section are fully documented in Understanding WMI Scripting (ISBN 1555582664) along with the WMI aspects and the scripting techniques they use. Beyond the learning curve they represent, they also offer useful functionalities to pursue our WMI discovery process. That's the reason why they are used many times throughout this second volume dedicated to WMI. The most experienced people in WMI, using this second volume on a standalone basis, can refer to this section to gather more information about these scripts. Again, the scripts are given for reference only. People interested in getting more information about the scripts must refer to Understanding WMI Scripting (ISBN 1555582664).
1: .: 8:9: ?xml>..:13: 14:15: 66: 67:
1: .: 8:9: ?xml>..:13: 14:15: 47: 48:
1: .: 8:9: ?xml>..:13: 14:15: 52: 53:
.: 6:' --------------------------------------------------------------------------------------------- 7:Function DisplayProperties (objWMIInstance, intIndent) ..: 14: Set objWMIPropertySet = objWMIInstance.Properties_ 15: For Each objWMIProperty In objWMIPropertySet 16: 17: boolCIMKey = objWMIProperty.Qualifiers_.Item("key").Value 18: If Err.Number Then 19: ...