Reference Guide

The Reference Guide contains the
file:///T|/htdocs/SOFTWARE/smcliins/cli81/en/refgd/index.html[10/19/2012 10:01:19 AM]
Select Case p.Value
Case 0
outString = outString & "Unknown" & VbCrLf
Case 1
outString = outString & "Ready" & VbCrLf
Case 2
outString = outString & "Online" & VbCrLf
Case 3
outString = outString & "Foreign" & VbCrLf
Case 4
outString = outString & "Offline" & VbCrLf
Case 5
outString = outString & "Blocked" & VbCrLf
Case 6
outString = outString & "Failed" & VbCrLf
Case 7
outString = outString & "Degraded" & VbCrLf
Case 8
outString = outString & "Rebuilding" & VbCrLf
End Select
End If
Next
Next
Wscript.StdOut.WriteLine outString
'*** If any errors occurred, let the user know
If Err.Number <> 0 Then
WScript.Echo "Enabling Trusted Platform Module 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 SampleGetRAIDStatus.vbs <systemname>"
WScript.Echo strMessage
End Sub
'==========================================================================
' End
'==========================================================================
Information in this document is subject to change without notice.
© 2012 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.
2012 - 05