I frequently find a need to quickly gather information about the hard drives in my HP Proliant servers. Sometimes I just need to find the model numbers but sometimes I also need information such as serial numbers and firmware versions.
This information is useful when HP releases an urgent firmware upgrade advisory or launches a disk replacement program of which both seem to be quite common lately.
All the needed information is available through WMI on servers that have the HP Insight Management WBEM Providers installed.
Classes: HPSA_DiskDrive and it’s associated classes
I wrote the following Powershell function that creates a command that gathers information from servers and returns them as an object that can be sorted, filtered and exported the way you need just as any powershell object.
Update: Improved cmdlets available here
Download hpdisks.ps1 and import it in your powershell session using the command
View original post 80 more words