ProLiant Servers (ML,DL,SL)
1825734 Members
2662 Online
109687 Solutions
New Discussion

Need to query for HDD info

 
E P
New Member

Need to query for HDD info

Hello all,

Just wondering if anyone new a way to query WMI to get HDD model/size info. I've been able to get what I need from survey.txt and surveybase.xml files but they are so verbose so I wanted to just write a clean script to get the info I need. Right now, I can get everything I need except drive model. Anyone have any ideas? Any suggestions would be greatly appreciated. Thanks!
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Need to query for HDD info

You can download the sourcecode for winventory to check how the disk information is obtained, is available at:

winventory.sourceforge.net
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Igor Karasik
Honored Contributor

Re: Need to query for HDD info

Just suggestion:
you can use HP SIM (free application)
http://h18013.www1.hp.com/products/servers/management/hpsim/index.html
With HP SIM you can create any report (include drives models).
Maybe you can ask this question in HP SIM forum as well:
http://forums1.itrc.hp.com/service/forums/categoryhome.do?categoryId=455
E P
New Member

Re: Need to query for HDD info

Thanks everyone for the replies! Going to look in to both of them...