Lenovo ThinkStation D20 Manuel de déploiement - Page 24

Parcourez en ligne ou téléchargez le pdf Manuel de déploiement pour {nom_de_la_catégorie} Lenovo ThinkStation D20. Lenovo ThinkStation D20 28 pages. Windows xp professional x64 edition recovery and conversion kit - japan
Également pour Lenovo ThinkStation D20 : Brochure (36 pages), Spécifications (4 pages), Brochure & Specs (4 pages), Manuel (8 pages), Manuel des fonctions (1 pages), Manuel du logiciel (japonais) (8 pages)

Lenovo ThinkStation D20 Manuel de déploiement

List all BIOS settings on the remote computer

Set a single BIOS setting on a remote computer

 
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations
End If
Set
colItems = objWMIService.ExecQuery("Select * from
Lenovo_SaveBiosSettings")
strReturn = "error"
For
Each objItem in colItems
ObjItem.SaveBiosSettings
strReturn
Next
WScript.Echo strRequest
WScript.Echo "
SaveBiosSettings: "
Use  the  sample  scripts  in  the  ZIP  file  as  templates  to  list  all 
BIOS settings and values on a remote computer. 
Syntax:  cscript.exe ListAllRemote.vbs
Example:  cscript.exe ListAllRemote.vbs mattdev-c5
'
' List all BIOS settings
'
On
Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 1 Then
WScript.Echo"ListAllRemote.vbs [hostname]"
WScript.Quit
End If
strComputer = WScript.Arguments(0)
Set
objWMIService
&"{ImpersonationLevel=Impersonate," _
&"authenticationLevel=pktPrivacy}!\\" _
& strComputer &
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
End If
Next
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]
[Hostname]
WScript.Arguments(2) + ",",
+ strReturn
= GetObject("WinMgmts:" _
"\root\wmi")
+ "
= "
[Hostname]
+ StrValue
[Value]
18