Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nebb00 opened this issue Aug 24, 2023 · 4 comments

Comments

@nebb00
Copy link

nebb00 commented Aug 24, 2023

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
Copy link
Collaborator

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
Copy link
Author

nebb00 commented Aug 24, 2023

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
Copy link
Collaborator

@TrevorSquillario
Copy link
Collaborator

Example:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants