Sample Scripts and BIOS Settings 49
Sample Scripts and BIOS Settings

WMI Sample Scripts

Clear Chassis Intrusion Status

Below is a sample VBScript that will clear the chassis intrusion status of a
system. This script can be run locally or remotely using the name of the
system.
Namespace: root\DellOMCI
Class Name: Dell_SMBIOSsettings
Instance 'Key' Value: 0
Property Name: ChassisIntrusionStatus
Property Value: 5
'****************************************************
'*** Name: SampleChassisIntrusionClear.vbs
'*** Purpose: To clear the chassis intrusion status on
a Dell OMCI client.
'*** Usage: cscript.exe //nologo
SampleChassisIntrusionClear.vbs <systemname>
'***
'*** 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.
'***************************************************
Option Explicit