Lenovo ThinkStation C20 BIOS Windows Management Instrumentation Interface Depl - Page 9

Script Classes and Parameter

Page 9 highlights

Chapter 2. Script Classes and Parameter This chapter contains WMI implementation details for configuring BIOS settings. Configuring BIOS settings The following interface details can be used to access Lenovo BIOS settings. ∙Namespace: ʺ\root\WMIʺ ∙BaseClass: ʺLenovo_BIOSElementʺ ∙Interface details (see Table 1) Table 1. Interface Details Class Name Lenovo_BiosSetting Lenovo_SetBiosSetting Lenovo_SaveBiosSetting Lenovo_DiscardBiosSetting Lenovo_LoadBiosSetting Type Parameter/Return Example Query CurrentSetting: ʺItem,Valueʺ ʺWakeOnLAN, Method Method Method Method ʺItem,Value,ʺ ʺPassword,Encoding,KbdLang ʺWakeOnLAN,Disabled," ʺpswd,ascii,us Return types Table 2. Return Types You will receive one of the following return types after making changes to BIOS settings: Return Type Description Success Operation completed successfully. Not Supported The feature is not supported on this system. InvalidParameter Access Denied System Busy The item or value provided is not valid. The change could not be made due to an authentication problem. If a supervisor password exists, the correct supervisor password must be provided. BIOS changes have already been made that neet to be committed. Reboot the system and try again. @Copyright Lenovo 2010 3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

Chapter 2. Script Classes and Parameter
This chapter contains WMI implementation details for configuring
BIOS settings.
Configuring
BIOS settings
The following interface details can be used to access Lenovo BIOS
settings.
Namespace:
ʺ
\root\WMI
ʺ
BaseClass:
ʺ
Lenovo_BIOSElement
ʺ
Interface details (see Table 1)
Table 1. Interface Details
Class Name
Type
Parameter/Return
Example
Lenovo_BiosSetting
Query
CurrentSetting:
ʺ
Item,Value
ʺ
ʺ
WakeOnLAN,
Lenovo_SetBiosSetting
Method
ʺ
Item,Value,
ʺ
ʺ
WakeOnLAN,Disabled,”
Lenovo_SaveBiosSetting
Method
ʺ
Password,Encoding,KbdLang,
ʺ
ʺ
pswd,ascii,us,
ʺ
Lenovo_DiscardBiosSetting
Method
ʺ
,
ʺ
ʺ
,
ʺ
Lenovo_LoadBiosSetting
Method
ʺ
,
ʺ
ʺ
,
ʺ
Return types
You will receive one of the following return types after making changes to
BIOS settings:
Table 2. Return Types
Return Type
Description
Success
Operation completed successfully.
Not Supported
The feature is not supported on this system.
InvalidParameter
The item or value provided is not valid.
Access Denied
The change could not be made due to an authentication problem.
If a supervisor password exists, the correct supervisor password
must be provided.
System Busy
BIOS changes have already been made that neet to be
committed.
Reboot the system and try again.
@Copyright Lenovo 2010
3