Powershell – How to find Dell firmware versions through powershell

dell-poweredgefirmwarepowershell

Looks like my newer servers are immune to this:

#Get-WmiObject -Namespace root\CIMV2\Dell -Class Dell_CMApplication -Filter "componentType = 'FRMW'" -ComputerName "localhost" | Select name,version

This returns: the name space root\cimv2\dell is "invalid".

So how does one obtain firmware versions through powershell now?

Best Answer

I know you asked for PowerShell, but...

If you download and set up OMSA, you can see the firmware versions through the webpage at https://<IP address of your server>:1311/. You can navigate using the drop-down menus on the right to see the Chassis and Storage Firmware Versions.

If you want to see the info through the command-line on a linux server, the omreport command(/opt/dell/srvadmin/bin/omreport) is the solution I've found. Perhaps there's something similar for Windows in PowerShell. Here's an example:

# omreport storage controller
List of Controllers in the system

Controller
ID                                            : 0
Status                                        : Non-Critical
Name                                          : PERC H700 Integrated
Slot ID                                       : PCIe Slot 4
State                                         : Degraded
Firmware Version                              : 12.10.4-0001
Minimum Required Firmware Version             : 12.10.7-0001
Driver Version                                : 07.707.51.00-rc1
Minimum Required Driver Version               : Not Applicable
Storport Driver Version                       : Not Applicable
Minimum Required Storport Driver Version      : Not Applicable
Number of Connectors                          : 2
Rebuild Rate                                  : 30%
BGI Rate                                      : 30%
Check Consistency Rate                        : 30%
Reconstruct Rate                              : 30%
Alarm State                                   : Not Applicable
Cluster Mode                                  : Not Applicable
SCSI Initiator ID                             : Not Applicable
Cache Memory Size                             : 512 MB
Patrol Read Mode                              : Auto
Patrol Read State                             : Stopped
Patrol Read Rate                              : 30%
Patrol Read Iterations                        : 346
Abort Check Consistency on Error              : Disabled
Allow Revertible Hot Spare and Replace Member : Enabled
Load Balance                                  : Not Applicable
Auto Replace Member on Predictive Failure     : Disabled
Redundant Path view                           : Not Applicable
CacheCade Capable                             : Not Applicable
Persistent Hot Spare                          : Disabled
Encryption Capable                            : Yes
Encryption Key Present                        : No
Encryption Mode                               : None
Preserved Cache                               : Not Applicable
Spin Down Unconfigured Drives                 : Disabled
Spin Down Hot Spares                          : Disabled
Spin Down Configured Drives                   : Not Applicable
Automatic Disk Power Saving (Idle C)          : Not Applicable
T10 Protection Information Capable            : No
Non-RAID HDD Disk Cache Policy                : Not Applicable

Controller
ID                                            : 1
Status                                        : Non-Critical
Name                                          : 6Gbps SAS HBA
Slot ID                                       : PCIe Slot 1
State                                         : Degraded
Firmware Version                              : 07.03.05.00
Minimum Required Firmware Version             : 07.03.06.00
Driver Version                                : 20.102.00.00
Minimum Required Driver Version               : Not Applicable
Storport Driver Version                       : Not Applicable
Minimum Required Storport Driver Version      : Not Applicable
Number of Connectors                          : 2
Rebuild Rate                                  : Not Applicable
BGI Rate                                      : Not Applicable
Check Consistency Rate                        : Not Applicable
Reconstruct Rate                              : Not Applicable
Alarm State                                   : Not Applicable
Cluster Mode                                  : Not Applicable
SCSI Initiator ID                             : Not Applicable
Cache Memory Size                             : Not Applicable
Patrol Read Mode                              : Not Applicable
Patrol Read State                             : Not Applicable
Patrol Read Rate                              : Not Applicable
Patrol Read Iterations                        : Not Applicable
Abort Check Consistency on Error              : Not Applicable
Allow Revertible Hot Spare and Replace Member : Not Applicable
Load Balance                                  : Not Applicable
Auto Replace Member on Predictive Failure     : Not Applicable
Redundant Path view                           : Not Applicable
CacheCade Capable                             : Not Applicable
Persistent Hot Spare                          : Not Applicable
Encryption Capable                            : Not Applicable
Encryption Key Present                        : Not Applicable
Encryption Mode                               : Not Applicable
Preserved Cache                               : Not Applicable
T10 Protection Information Capable            : Not Applicable
Non-RAID HDD Disk Cache Policy                : Not Applicable