dell / OpenManage-PowerShell-Modules

Apache License 2.0
20 stars 8 forks source link

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

Closed nebb00 closed 1 year ago

nebb00 commented 1 year ago

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.

TrevorSquillario commented 1 year ago

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 1 year ago

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

TrevorSquillario commented 1 year ago

Added to Release 3.6.2 https://github.com/dell/OpenManage-PowerShell-Modules/releases/tag/3.6.2

TrevorSquillario commented 1 year ago

Example:

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