windows-admins / ConfigMgr

GNU General Public License v3.0
225 stars 57 forks source link

Expand Lenovo conversion #54

Closed CodyMathis123 closed 5 years ago

CodyMathis123 commented 5 years ago

Currently untested.... but it should cover the 57 models we have in our environment.

Checks for everything that needs changed, and it will also 'dynamically' use a BIOS password if one is detected and it is put in the TS var. BIOSPWFormatted will be empty if there is no BIOS password set so all the steps should work whether it is set or not.

Also add the 'SaveBiosSettings' at the end for Lenovo.

MBR2GPT steps now log to %_SMSTSLogPath% and specify /disk:0

Ebag333 commented 5 years ago

I think there's a few minor issues with it (mostly around how Lenovo changes the damn names all the time) but it's a lot better than what it was and it'll be a great start for someone (else) to expand on it. Good work.