dell/OpenManage-PowerShell-Modules

Feature Request: Multiple -ComponentFilter for Update-OMEFirmware/Get-OMEFirmwareCompliance

nebb00 opened this issue · 4 comments

nebb00 commented

Is it possible to support passing multiple componetfilters to Update-OMEFirmware and Get-OMEFirmwareCompliance. Maybe like the below?

$baseline | Get-OMEFirmwareCompliance -DeviceFilter $devices -ComponentFilter ("iDRAC with Lifecycle Controller","OS Drivers Pack")
Update-OMEFirmware -Baseline $baseline -DeviceFilter $devices -ComponentFilter ("iDRAC with Lifecycle Controller","OS Drivers Pack")

I have tried multiple ways, and I do not believe its possible in a single command? I can foreach, but not ideal.

Yes this is possible! I have it working in my test environment. Give me a chance to test it and I should have a new release out sometime next week.

nebb00 commented

Yes this is possible! I have it working in my test environment. Give me a chance to test it and I should have a new release out sometime next week.

Look at that service! Also would be cool to accept an array with the values

Example:

Update-OMEFirmware -Baseline $("AllLatest" | Get-OMEFirmwareBaseline) -ComponentFilter "BIOS", "iDRAC" -UpdateSchedule "StageForNextReboot" -ClearJobQueue