Previous Topic: ComponentID GroupNext Topic: Asset Management Compressed Text File


.MIF File Example

The following is a .MIF file example:

Start Component
// A double slash indicates that the line contains comments,
// and should be ignored...
// First we name and describe the component...
  Name = "AM Windows 95 PC information"
  Description = "This MIF file contains basic hardware inventory for a AM Windows 95 Computer"
  // Then we list the groups...
     Start Group
	// First we name the group....
	// Every group within the component must be
	// assigned a unique ID and a class...
	// and optionally a description
	   Name = "Processors"
 	   Id = 1
	   Class = "AM|Processors|001"
	   Description = "Describes the processors present in the system"
 	   // Then we list the groups attributes...
	      Start Attribute
		// First we name the attribute....
		// Every attribute within the group must be
		// assigned a unique ID and optionally a description
			Name = "Main processor type"
			Id = 1
			Description = "The type of processor currently in the system"
			// Specify the attribute type (A string)...
			Type = String(64)
			// ...and the attribute value...
			Value = "Pentium"
		// End of attribute...
		End Attribute
		// Describe a new attribute within the group...
		Start Attribute
			Name = "Main processor speed"
			Id = 2
			Description = "Maximum speed (in MHz) of this processor"
			Type = Integer
			Value = 90
		End Attribute
		Start Attribute
			Name = "Main processor vendor ID"
			Id = 3
			Description = "This is the Vendor ID returned by the processor in response to the CPUID instruction"
			Type = String(64)
			Value = "GenuineIntel"
		End Attribute
		// Continue until no more attributes in the group...
		// End of group...
     End Group
     // Describe a new group within the component...
     Start Group
	Name = "Operating system"
	Id = 2
	Class = "AM|OSsystem|001"
	Description = "Describes the operating system running on this system"
	Start Attribute
		Name = "Operating system"
		Id = 1
		Description = "Specifies the operating system"
		Type = String(64)
		Value = "Windows 95"
	End Attribute
	Start Attribute
		Name = "Operating system Major version"
		Id = 2
		Description = "Specifies the major version of the operating system"
		Type = Integer
		Value = 4
	End Attribute
	Start Attribute
		Name = "Operating system Minor version"
		Id = 3
		Description = "Specifies the minor version of the operating system"
		Type = Integer
		Value = 0
	End Attribute
     End Group
// Continue until no more groups in component..
// End of Component...
End Component