Sample Scripts and BIOS Settings
59
'*** Declare variables
Dim strNameSpace
Dim strComputerName
Dim strClassName
Dim strPropValue
Dim objInstance
Dim ObjOutParam
Dim strMethod
Dim objMethod
Dim objClass
Dim objInParam
'*** Check that the right executable was used to run
the script
'*** and that all parameters were passed
If (LCase(Right(WScript.FullName, 11)) =
"wscript.exe" ) Or _
(Wscript.Arguments.Count < 2) Then
Call Usage()
WScript.Quit
End If
'*** Initialize variables
strNameSpace = "root/Dellomci"
strComputerName = WScript.Arguments(0)
strClassName = "Dell_Configuration"
strPropValue = "Configuration"
strMethod = "FlashBios"
'*** Retrieve the Dell_Configuration class
Set objClass =
GetObject("WinMgmts:{impersonationLevel=
impersonate}//" & _
strComputerName & "/" & strNameSpace & ":" &
strClassName)
Set objMethod = objClass.Methods_(strMethod)
Содержание OPENMANAGE 7.6
Страница 1: ...Dell OpenManage Client Instrumentation Version 7 6 User s Guide ...
Страница 6: ...6 Contents Glossary 75 Index 81 ...
Страница 16: ...16 Introduction ...
Страница 24: ...24 Installing Dell OpenManage Client Instrumentation ...
Страница 30: ...30 Windows Management Instrumentation ...
Страница 38: ...38 Alerts ...
Страница 84: ...84 Index ...