On some machines when I run:

wmic CSProduct Get Vendor,Name

I get an output of:

Name        Vendor

Dell Inc.   Optiplex G620

However on other machines I get a blank output like this:

Blank output

Any ideas what might be causing this?

link|improve this question
1  
There are three potential issues that come to mind. First, WMI is pretty susceptible to data corruption. I don't think this is likely to be the case since I think that would throw an error. Second, it is also very finicky about proper permissioning of the classes. Again though I think that this would throw an error. Last and I think most likely, I suspect that the class that you are trying to pull from probably needs to be created as part of the image the manufacturer puts on the machine and not all manufacturers do this for all models. – EBGreen Sep 6 '11 at 18:20
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.