
(gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("Native Mode Operation,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("Configure SATA as,AHCI") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("SATA Drive 3,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("SATA Drive 2,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("SATA Drive 1,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("SATA Controller,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 6,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 5,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 4,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 3,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("Rear USB Ports,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 2,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Port 1,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("Front USB Ports,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Legacy Support,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("USB Support,Enabled") (gwmi -class Lenovo_SetBiosSetting -namespace root\wmi).SetBiosSetting("Serial Port1 Address,3F8/IRQ4") #Here are the settings I used to configure the Lenovo M79, inlcuding boot order. (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings("password,ascii,us”) #To save all changes with a supervisor password!!!!!!!!!!!!!!!! (gwmi -class Lenovo_SetBiosSetting –namespace root\wmi).SetBiosSetting("WakeOnLAN,Disable,password,ascii,us") #To set a bios setting with supervisor password: (gwmi -class Lenovo_SaveBiosSettings -namespace root\wmi).SaveBiosSettings() (gwmi -class Lenovo_SetBiosSetting –namespace root\wmi).SetBiosSetting("WakeOnLAN,Disable") #You can enumerate this list then use notepad++ to put all of the current settings into a powershell command like below Gwmi -class Lenovo_BiosSetting -namespace root\wmi | ForEach-Object Here is an actual answer, not just a waste of time "you should Google" response.
