I’m working with WMI today. The class I’m working with only exists if you’re using a third party software. Obviously you guys reading this will not be using that. I’m having a problem listing the available methods for the class.
First, I use the old Sapien Technologies WMI Explorer. When I click on the class, I can see 10 methods listed under the methods tab.
Second, I use the new Sapien Technologies WMI Explorer. When I click on the same class, I can only see one method listed. Compared to 10 in the first option.
Third, I use PowerShell. I do a get-wmiobject -namespace root\cimv2 -class softwarevendor | get-member. When I run that I get just the properties back and no methods. I even tried get-wmiobject -namespace root\cimv2 -class softwarevendor | get-member -membertype method. When I do that, no results returned.
I suppose I should discuss my first and second results with Sapien Technologies. However, when I used just PowerShell it really threw me off. So I thought I would check here first. If anyone has any ideas please let me know.