
Solved!
Go to SolutionGetting physical disk info using iDrac/Powershell
Hello All,
I'm trying to find a good way to cycle through a DRAC and for each controller and obtain the disk type (HDD/SSD), manufacturer, make, model and firmware level. The RACADM command below will work, but to capture the output in a PS script would be somewhat unwieldy.
racadm -r iDrac -u user -p pwd storage get pdisks -o -p Name,Manufacturer,ProductID,MediaType,Revision --nocertwarn
Is there a way to do the equivalent using the available DCIM schema? The one listed below does not provide what I need and I could not find any reference in the Dell materials.
$Drives=Get-CimInstance -CimSession $connection -ResourceUri "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_EnclosureView"
Thanks.
Responses (0)
Solutions (0)
