ProLiant Servers (ML,DL,SL)
1824976 Members
3636 Online
109678 Solutions
New Discussion

Check Power Supplies via script

 
SteveMahoney
New Member

Check Power Supplies via script

I've got dozens of new ProLiant DL380 G8s showing up around the world.  My team needs to know that they all meet the specs the local teams were given.  So I'm checking these via PowerShell script.  The one area I'm having a hard time with is the power supplies.  The servers should have a pair of 460W power supplies.  I need to figure out how to confirm that.

 

The closest I've gotten is using WMI.  (Get-WmiObject -Namespace root\HPQ -Class HP_PowerSupplySlot)  But that only works if the HP namespace is loaded, and still doesn't give me the capacity of the power supplies.  The HP System Management page (Home > System > Power) lists the power supplies and their Max Capacity.  How to I tap that info from a script?