Reference Guide

Dell OpenManage Client Instrumentation Reference Guide
file:///T|/htdocs/SOFTWARE/smcliins/cli80/EN/refgd/index.htm[10/19/2012 9:56:27 AM]
Set ColSystem=objWMIService.execquery ("Select * from " & strClassNameBIOS)
For each objInstance in ColSystem
strMessage = strMessage & vbCRLF & "BIOS Version: "
strMessage = strMessage & objInstance.Properties_.Item("Version").Value
Next
'*** Display the results
WScript.Echo strMessage
'*** Sub used to display the correct usage of the script
Sub Usage()
Dim strMessage
strMessage = "incorrect syntax. You should run: " & vbCRLF & _
"cscript.exe //nologo SampleSystemSummary.vbs <systemname>"
WScript.Echo strMessage
End Sub
Information in this document is subject to change without notice.
© 2010 Dell Inc. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dell, the DELL logo, OpenManage, Latitude, and OptiPlex are trademarks of Dell Inc.; Intel is a trademark of Intel Corporation in the U.S. and other
countries; Sun, the Sun logo, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries; NetWare is a registered
trademark of Novell, Inc. in the United States and other countries; Altiris is a registered trademark of Altiris Inc.; Microsoft, Windows Vista, Windows Server, and Windows are either
trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary
interest in trademarks and trade names other than its own.
October 2010