Skip to content

Conversation

@pasqualm
Copy link

@pasqualm pasqualm commented Mar 7, 2022

The operation SetBiosPassword needs a reboot to be efective. After the first execution, all SetBiosPassword operations will fail even if the password is correct until the reboot.
This can create a problem if you do multiple Manage-LenovoBiosSettings operations without rebooting between them.
The method for checking if the password is correct is changed to trying to set a value with it's current value to try to avoid this situation

The operation SetBiosPassword needs a reboot to be efective. After the first execution, all SetBiosPassword operations will fail even if the password is correct until the reboot.
This can create a problem if you do multiple Manage-LenovoBiosSettings operations without rebooting between them.
The method for checking if the password is correct is changed to trying to set a value with it's current value to try to avoid this situation
@pasqualm
Copy link
Author

pasqualm commented Mar 7, 2022

Hi Jon
Please, consider merging this change, it has been necessary to make make your tool work well in our environment and can be useful for others.

Best regards :)

Some HP models return the config info with a space in front of them.  Change to manage correctly this situation
Some HP models return the config info with a space in front of them. Change to manage correctly this situation when setting values
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

Successfully merging this pull request may close these issues.

1 participant