All Forums >> [Scripting] >> Post a VBScript >> Get Dell Hardware Info from WMI Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I struggled for quite a while trying to figure out how to extract hardware information from my Dell servers. Searching the Dell Forums revealed that a lot of people were looking to do the same thing. Answers were far and few between; when they did come, forum patrons were pushed towards using OpenManage Command Line Interface (of which I can't really get excited about).
After a couple hours with my nose inside WMI, I present to you my solution:
This was tested against a PowerEdge 1750 Server running Windows Server 2003 SP2 x86. OpenManage Server Administrator 5.1.0 was installed. The script was run from a Windows Vista Ultimate x32 workstation. Both machines are in the same domain. I used my Domain Admin account to run the script.
I received no errors during the running of the code, but you might have an extra line break or other formatting error to fix before it will run right on your workstation. If you have comments, questions, or think you found a bug, lemee know here.