Sub Usage()
Dim strMessage
strMessage = "incorrect syntax. You should run: " &
vbCRLF & _
"cscript.exe //nologo SampleSystemSummary.vbs
<systemname>"
WScript.Echo strMessage
End Sub
Changing BIOS Password
Below is a sample VBScript that will change the BIOS password on a Dell
OMCI client.
'****************************************************
'*** Name: SampleBIOSPwd.vbs
'*** Purpose: To change the BIOS password on a Dell
OMCI client.
'*** Usage: cscript.exe //nologo SampleBIOSPwd.vbs
<systemname> "<old
'*** pwd> space <new pwd>"
'***
'*** This sample script is provided as an example
only, and has not been
'*** tested, nor is warranted in any way by Dell; Dell
disclaims any
'*** liability in connection therewith. Dell provides
no technical
'*** support with regard to such scripting. For more
information on WMI
'*** scripting, refer to applicable Microsoft
documentation.
'****************************************************
'*** Declare variables
Dim strNameSpace
Dim strComputerName
Dim strClassName
Dim strKeyValue
Dim objInstance
68
Sample Scripts and BIOS Settings