Lenovo ThinkStation C20x Manuel de déploiement - Page 26
Parcourez en ligne ou téléchargez le pdf Manuel de déploiement pour {nom_de_la_catégorie} Lenovo ThinkStation C20x. Lenovo ThinkStation C20x 28 pages. Bios windows management instrumentation interface deployment guide
Également pour Lenovo ThinkStation C20x : Spécifications (4 pages)
Lenovo BIOS Windows Management Instrumentation Interface Deployment Guide for Workstations
'
On
Error Resume Next
Dim colItems
If WScript.Arguments.Count <> 4 Then
WScript.Echo "SetConfigPasswordRemote.vbs [setting]
[password + encoding] [hostname]"
WScript.Quit
End If
strRequest = WScript.Arguments(0) + "," + WScript.Arguments(1) +
","
strComputer = WScript.Arguments(3)
Set
objWMIService
&"{ImpersonationLevel=Impersonate," _
&"authenticationLevel=pktPrivacy}!\\" _
&
strComputer &
Set
colItems
=
Lenovo_SetBiosSetting")
For
Each objItem in colItems
ObjItem.SetBiosSetting strRequest, strReturn
Next
WScript.Echo strRequest
WScript.Echo "
SetBiosSetting: "
If strReturn < > "Success" Then
WScript.Quit
End If
Set
colItems
=
Lenovo_SaveBiosSettings")
strReturn = "error"
For
Each objItem in colItems
ObjItem.SaveBiosSettings WScript.Arguments(2)+",",
Next
WScript.Echo strRequest
WScript.Echo " SaveBiosSettings: " + strReturn
= GetObject("WinMgmts:" _
"\root\wmi")
objWMIService.ExecQuery("Select
+ strReturn
objWMIService.ExecQuery("Select
[value]
*
from
*
from
strReturn
20