How i can get the parameters types of an method for a WMI class using vbscript
actually i'm using this script
strComputer = "."
strNameSpace = "root\cimv2"
Set objServices = GetObject("winmgmts:root\cimv2")
Set objShare = objServices.Get("Win32_Share")
Set objInParam = objShare.Methods_("Create"). _
inParameters.Properties_
For Each Property In objInParam
WScript.Echo Property.Name
WScript.Echo Property.Type //here this code fails, how i can get the type name ?
Next