Lenovo ThinkStation C20x Руководство по развертыванию - Страница 26
Просмотреть онлайн или скачать pdf Руководство по развертыванию для Настольный компьютер Lenovo ThinkStation C20x. Lenovo ThinkStation C20x 28 страниц. Bios windows management instrumentation interface deployment guide
Также для Lenovo ThinkStation C20x: Технические характеристики (4 страниц)
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