nyuk
04-20-2004, 02:52 AM
Sorry for the novice scripter question:
how I can get the value of Qualifier of method of object CIM, if this value is Array ???
I do:
...
for each colMethods in Process.Methods_
WScript.Echo " " & colMethods.Name
IF colMethods.Name = "Create" Then
WScript.Echo "Just qualifiers for Method: "
WScript.Echo " " & colMethods.Name
for each Qualifier in colMethods.Qualifiers_
WScript.Echo " " & Qualifier.Name & ": " & Qualifier.Value
next
End If
next
If Qualifier.Value is array then Error! ((
how I can get the value of Qualifier of method of object CIM, if this value is Array ???
I do:
...
for each colMethods in Process.Methods_
WScript.Echo " " & colMethods.Name
IF colMethods.Name = "Create" Then
WScript.Echo "Just qualifiers for Method: "
WScript.Echo " " & colMethods.Name
for each Qualifier in colMethods.Qualifiers_
WScript.Echo " " & Qualifier.Name & ": " & Qualifier.Value
next
End If
next
If Qualifier.Value is array then Error! ((