- ページ 24

デスクトップ Lenovo ThinkPad R500のPDF 配備マニュアルをオンラインで閲覧またはダウンロードできます。Lenovo ThinkPad R500 36 ページ。 Bios windows management instrumentation interface
Lenovo ThinkPad R500 にも: セットアップポスター (2 ページ), 初期設定マニュアル (2 ページ), パンフレット (4 ページ), 仕様 (4 ページ), 配備マニュアル (44 ページ), お知らせ (24 ページ), お知らせ (1 ページ), 配備マニュアル (40 ページ), ユーザーマニュアル (28 ページ)

Lenovo ThinkPad R500 配備マニュアル
Syntax: cscript.exe ListAllRemote.vbs [Hostname]
Example: cscript.exe ListAllRemote.vbs mattdev-c5
'
' List all BIOS settings
'
On Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 1 Then
End If
strComputer = WScript.Arguments(0)
Set objWMIService = GetObject("WinMgmts:" _
Set colItems = objWMIService.ExecQuery("Select * from Lenovo_BiosSetting")
For Each objItem in colItems
Next

Set a single BIOS setting on a remote computer

Use the sample scripts in the ZIP file as templates to set a single BIOS setting on a
remote computer.
Syntax: cscript.exe SetConfigRemote.vbs [Item] [Value] [Hostname]
Example: cscript.exe SetConfigRemote.vbs WakeOnLAN Disable mattdev-c5
'
' Set specific BIOS Setting
'
On Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 3 Then
End If
strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) + ";"
strComputer = WScript.Arguments(2)
Set objWMIService = GetObject("WinMgmts:" _
Set colItems = objWMIService.ExecQuery("Select * from Lenovo_SetBiosSetting")
16
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide
WScript.Echo "ListAllRemote.vbs [hostname]"
WScript.Quit
&"{ImpersonationLevel=Impersonate," _
&"authenticationLevel=pktPrivacy}!\\" _
& strComputer & "\root\wmi")
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
WScript.Echo "SetConfigRemote.vbs [setting] [value] [hostname]"
WScript.Quit
&"{ImpersonationLevel=Impersonate," _
&"authenticationLevel=pktPrivacy}!\\" _
& strComputer & "\root\wmi")