Obligatory legal tag: I work for Dell.
This is obviously a bit late, but here is how to get the firmware from the iDRAC using PowerShell
param([
Parameter(Mandatory)]
[System.Net.IPAddress]$idracIp,
[Parameter(Mandatory)]
[pscredential]$credentials
)
$params = @{uri = "https://$($idracIp)/redfish/v1/UpdateService/FirmwareInventory";
Method = 'Get';
Headers = @{Authorization = 'Basic ' + [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$($credentials.GetNetworkCredential().username):$($credentials.GetNetworkCredential().password)"));
}
}
invoke-restmethod @params -SkipCertificateCheck | Select-Object -ExpandProperty Members
Preferably you use an x-auth token instead and use PSCredentials all the way through but that's how you do it with basic auth.
Example Output
PS C:\Users\grant\Downloads> .\getFirmware.ps1 -idracIp 192.168.1.47
cmdlet getFirmware.ps1 at command pipeline position 1
Supply values for the following parameters:
credentials
User: root
Password for user root: *
@odata.id
---------
/redfish/v1/UpdateService/FirmwareInventory/Current-103999-4.35__RAID.Backplane.Firmware.1
/redfish/v1/UpdateService/FirmwareInventory/Current-104892-51.16.0-4076__RAID.Integrated.1-1
/redfish/v1/UpdateService/FirmwareInventory/Current-108255-22.00.6__NIC.Embedded.1-1-1
/redfish/v1/UpdateService/FirmwareInventory/Current-108255-22.00.6__NIC.Embedded.2-1-1
/redfish/v1/UpdateService/FirmwareInventory/Current-159-2.6.6__BIOS.Setup.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-0-2.2.0__Disk.Bay.8:Enclosure.Internal.0-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-0-2.2.0__Disk.Bay.9:Enclosure.Internal.0-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-0-VDV1DP25__Disk.Bay.6:Enclosure.Internal.0-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-0-VDV1DP25__Disk.Bay.7:Enclosure.Internal.0-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-101622-00.0C.7D__PSU.Slot.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-101622-00.0C.7D__PSU.Slot.2
/redfish/v1/UpdateService/FirmwareInventory/Installed-103999-4.35__RAID.Backplane.Firmware.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-104684-4.2.0.0__ServiceModule.Embedded.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-104892-51.16.0-4076__RAID.Integrated.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-108255-22.00.6__NIC.Embedded.1-1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-108255-22.00.6__NIC.Embedded.2-1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-109277-J004__Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-109277-J004__Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-109673-1.3.2.8__TPM.Integrated.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-159-2.6.6__BIOS.Setup.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-18981-21.10.02__DriverPack.Embedded.1:LC.Embedded.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-25227-5.10.10.00__iDRAC.Embedded.1-1
/redfish/v1/UpdateService/FirmwareInventory/Installed-25806-4301A68__Diagnostics.Embedded.1:LC.Embedded.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-27763-1.0.7__CPLD.Embedded.1
/redfish/v1/UpdateService/FirmwareInventory/Installed-28897-5.10.10.00__USC.Embedded.1:LC.Embedded.1
/redfish/v1/UpdateService/FirmwareInventory/Previous-25227-5.10.10.00__iDRAC.Embedded.1-1