Dell 7.6 Computer Accessories User Manual


 
Windows Management Instrumentation 27
To retrieve these Dell attributes, edit the sms_def.mof file available on the
SMS server in the sms\inboxes\clifiles.src\hinv directory. Add the following
lines to the end of the sms_def.mof file:
[SMS_Report(TRUE),
SMS_Group_Name("Dell Summary"),
ResID(7000),ResDLL("dellwmi.dll"),
SMS_Class_ID("Dell|Summary|1.0")]
class Dell_System_Summary : SMS_Class_Template
{
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string SystemVendor;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string SystemDescription;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string ProcessorType;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
sint32 ProcessorSpeed;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
string BIOSVersion;
[SMS_Report(TRUE), read: ToInstance ToSubClass]
datetime BIOSDate;
[SMS_Report(TRUE), read: ToInstance ToSubClass, key]
string ServiceTag;
[SMS_Report(TRUE), read: ToInstance ToSubClass,
write: ToInstance ToSubClass]
string AssetTag;
};
#pragma namespace ("\\\\.\\Root\\cimv2")
//***************************************************
**********
//*** Registers Framework Provider ***
//***************************************************
**********
instance of __Win32Provider as $Q
{
Name = "DellWMI";
ClsId = "{a29197b6-5c8d-4278-ae20-e5c14aed1280}";
};