60
Sample Scripts and BIOS Settings
'*** Set the In parameter of the method to the URL of
BIOS header file
Set objInParam =
objMethod.inParameters.SpawnInstance_()
objInParam.sUrl = WScript.Arguments(1)
'*** Execute the method
Set ObjOutParam = objClass.ExecMethod_(strMethod,
objInParam)
'*** Let the user know whether the method returned
success or not
'*** Note: if return value is 0, it does not mean the
system's BIOS has
'*** been flashed, it only means that the flash method
was initiated
'*** successfully.
If objOutParam.ReturnValue = 0 Then
WScript.Echo "Method completed successfully."
else
WScript.Echo "Method failed."
End If
'*** Sub used to display the correct usage of the
script
Sub Usage()
Dim strMessage
strMessage = "incorrect syntax. You should run: " &
vbCRLF & _
"cscript.exe //nologo SampleFlash.vbs
<systemname> <URL of BIOS
header file>"
WScript.Echo strMessage
End Sub
Summary of Contents for OPENMANAGE 7.6
Page 1: ...Dell OpenManage Client Instrumentation Version 7 6 User s Guide ...
Page 6: ...6 Contents Glossary 75 Index 81 ...
Page 16: ...16 Introduction ...
Page 24: ...24 Installing Dell OpenManage Client Instrumentation ...
Page 30: ...30 Windows Management Instrumentation ...
Page 38: ...38 Alerts ...
Page 84: ...84 Index ...