Lenovo ThinkPad R500 Dağıtım Kılavuzu - Sayfa 26

Masaüstü Lenovo ThinkPad R500 için çevrimiçi göz atın veya pdf Dağıtım Kılavuzu indirin. Lenovo ThinkPad R500 40 sayfaları. Bios windows management instrumentation interface
Ayrıca Lenovo ThinkPad R500 için: Kurulum Posteri (2 sayfalar), İlk Kurulum Kılavuzu (2 sayfalar), Broşür (4 sayfalar), Teknik Özellikler (4 sayfalar), Dağıtım Kılavuzu (44 sayfalar), Uyarı (24 sayfalar), Uyarı (1 sayfalar), Dağıtım Kılavuzu (36 sayfalar), Kullanıcı Kılavuzu (28 sayfalar)

Lenovo ThinkPad R500 Dağıtım Kılavuzu
'
' List all BIOS settings
'
On Error Resume Next
Dim colItems
strComputer = "LOCALHOST"
Set objWMIService = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer & "\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from Lenovo_BiosSetting")
For Each objItem in colItems
If Len(objItem.CurrentSetting) > 0 Then
Setting = ObjItem.CurrentSetting
StrItem = Left(ObjItem.CurrentSetting, InStr(ObjItem.CurrentSetting, ",")
- 1)
StrValue = Mid(ObjItem.CurrentSetting, InStr(ObjItem.CurrentSetting, ",")
+ 1, 256)
WScript.Echo StrItem + " = " + StrValue
End If
Next

Set a single BIOS setting on the local computer

Use the sample scripts in the ZIP file as templates to set a single BIOS setting on the local computer.
Syntax: cscript.exe SetConfig.vbs [Item] [Value]Example: cscript.exe SetConfig.vbs WakeOnLAN Disable
'
' Set specific BIOS Setting
'
On Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 2 Then
WScript.Echo "SetConfig.vbs [setting] [value]"
WScript.Quit
End If
strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) + ";"
strComputer = "LOCALHOST"
Set objWMIService = GetObject("WinMgmts:" _
&"{ImpersonationLevel=Impersonate}!\\" & strComputer & "\root\wmi")
Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting")
For Each objItem in colItems
ObjItem.SetBiosSetting strRequest, strReturn
Next
WScript.Echo strRequest
WScript.Echo " SetBiosSetting: " + strReturn
If strReturn <> "Success" Then
WScript.Quit
End If
18
Lenovo BIOS Setup using Windows Management Instrumentation Deployment Guide
' Change as needed.
' Change as needed.