Is there a way in Powershell to take in ASCII and convert it to keyboard scan code?
I have written a PSH script that enumerates the BIOS on HP laptops, and depending on some of the settings will then make changes to the BIOS. To make changes (write) requires the input of the BIOS password. HP decided that instead of passing ASCII characters for the password they would use keyboard scan code. I found keyboard scan code tables and have the script working if the password is 'abc123'