Lenovo ThinkStation C20 Manual de implantação - Página 26

Procurar online ou descarregar pdf Manual de implantação para Ambiente de trabalho Lenovo ThinkStation C20. Lenovo ThinkStation C20 28 páginas. Bios windows management instrumentation interface deployment guide
Também para Lenovo ThinkStation C20: Especificações (4 páginas), Brochura (36 páginas)

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