HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Check Power Supplies via script

 
SteveMahoney
Occasional Visitor

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?