MotherBoard .....something like this
<font face=Courier New>Sub MotherBoardInfo()
<SPAN style="color:darkblue">Dim</SPAN> strComputerName <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">String</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> strNameSpace <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">String</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> strClassName <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">String</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> objWMIMboard <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">Object</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> objWMIService <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">Object</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> objWMI_Mboards <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">Object</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> strRet <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">String</SPAN>
<SPAN style="color:darkblue">Dim</SPAN> strRet1 <SPAN style="color:darkblue">As</SPAN> <SPAN style="color:darkblue">String</SPAN>
<SPAN style="color:green">'// All of the following codes are</SPAN>
<SPAN style="color:green">'// designed to work on the local computer.</SPAN>
<SPAN style="color:green">'// This is done by setting the value of the variable</SPAN>
<SPAN style="color:green">'// strComputer to a dot (".").</SPAN>
<SPAN style="color:green">'// To run a script against a remote computer,</SPAN>
<SPAN style="color:green">'// simply set the value of strComputer to the name of the remote computer.</SPAN>
<SPAN style="color:green">'// For example, this line of code causes code to run against a computer named MyComp:</SPAN>
<SPAN style="color:green">'// strComputer = "MyComp"</SPAN>
strComputerName = "."
strNameSpace = "root\cimv2"
strClassName = "Win32_BaseBoard"
<SPAN style="color:darkblue">Set</SPAN> objWMIService = GetObject("winmgmts:\\" & strComputerName & _
"\" & strNameSpace)
<SPAN style="color:darkblue">Set</SPAN> objWMI_Mboards = objWMIService.ExecQuery _
("Select * from Win32_BaseBoard")
<SPAN style="color:darkblue">On</SPAN> <SPAN style="color:darkblue">Error</SPAN> <SPAN style="color:darkblue">Resume</SPAN> <SPAN style="color:darkblue">Next</SPAN>
<SPAN style="color:darkblue">For</SPAN> <SPAN style="color:darkblue">Each</SPAN> objWMIMboard <SPAN style="color:darkblue">In</SPAN> objWMI_Mboards
strRet = "Caption: " & objWMIMboard.Caption & vbCr
strRet = strRet & "ConfigOptions[] = " & objWMIMboard.ConfigOptions & vbCr
strRet = strRet & "CreationClassName = " & objWMIMboard.CreationClassName & vbCr
strRet = strRet & "Depth = " & objWMIMboard.Depth & vbCr
strRet = strRet & "Description = " & objWMIMboard.Description & vbCr
strRet = strRet & "Height = " & objWMIMboard.Height & vbCr
strRet = strRet & "HostingBoard = " & objWMIMboard.HostingBoard & vbCr
strRet = strRet & "HotSwappable = " & objWMIMboard.HotSwappable & vbCr
strRet = strRet & "InstallDate = " & objWMIMboard.InstallDate & vbCr
strRet = strRet & "Manufacturer = " & objWMIMboard.Manufacturer & vbCr
strRet = strRet & "Model = " & objWMIMboard.Model & vbCr
strRet = strRet & "Name = " & objWMIMboard.Name & vbCr
strRet = strRet & "OtherIdentifyingInfo = " & objWMIMboard.OtherIdentifyingInfo & vbCr
strRet = strRet & "PartNumber = " & objWMIMboard.PartNumber & vbCr
strRet = strRet & "PoweredOn = " & objWMIMboard.PoweredOn & vbCr
strRet = strRet & "Product = " & objWMIMboard.Product & vbCr
strRet = strRet & "Removable = " & objWMIMboard.Removable & vbCr
strRet = strRet & "Replaceable = " & objWMIMboard.Replaceable & vbCr
strRet = strRet & "RequirementsDescription = " & objWMIMboard.RequirementsDescription & vbCr
strRet = strRet & "RequiresDaughterBoard = " & objWMIMboard.RequiresDaughterBoard & vbCr
strRet = strRet & "SerialNumber = " & objWMIMboard.SerialNumber & vbCr
strRet = strRet & "SKU = " & objWMIMboard.SKU & vbCr
strRet = strRet & "SlotLayout = " & objWMIMboard.SlotLayout & vbCr
strRet = strRet & "SpecialRequirements = " & objWMIMboard.SpecialRequirements & vbCr
strRet = strRet & "Status = " & objWMIMboard.Status & vbCr
strRet = strRet & "Tag = " & objWMIMboard.Tag & vbCr
strRet = strRet & "Version = " & objWMIMboard.Version & vbCr
strRet = strRet & "Weight = " & objWMIMboard.Weight & vbCr
strRet = strRet & "Width = " & objWMIMboard.Width & vbCr
MsgBox strRet, vbInformation, "MotheBoard info for:= " & objWMIMboard.Description
<SPAN style="color:darkblue">Next</SPAN>
<SPAN style="color:darkblue">End</SPAN> <SPAN style="color:darkblue">Sub</SPAN>
</FONT>
This was gather via WIM Win32_BaseBoard
I got the properties from MS and just converted.
The Win32_BaseBoard WMI class represents a baseboard (also known as a motherboard or system board).
The following syntax is simplified from MOF code and includes all inherited properties.
Code:
class Win32_BaseBoard : CIM_Card
{
string Caption;
string ConfigOptions[];
string CreationClassName;
real32 Depth;
string Description;
real32 Height;
boolean HostingBoard;
boolean HotSwappable;
datetime InstallDate;
string Manufacturer;
string Model;
string Name;
string OtherIdentifyingInfo;
string PartNumber;
boolean PoweredOn;
string Product;
boolean Removable;
boolean Replaceable;
string RequirementsDescription;
boolean RequiresDaughterBoard;
string SerialNumber;
string SKU;
string SlotLayout;
boolean SpecialRequirements;
string Status;
string Tag;
string Version;
real32 Weight;
real32 Width;
};
Methods
The Win32_BaseBoard class defines the following method.
Method Description
IsCompatible Not implemented.
Properties
The Win32_BaseBoard class defines the following properties.
Caption
Data type: string
Access type: Read-only
Short description (one-line string) of the object. This property is inherited from CIM_ManagedSystemElement.
ConfigOptions
Data type: string array
Access type: Read-only
Array representing the configuration of the jumpers and switches located on the base board.
As far as Modems
There are a whole host of WMI Classes
Computer system hardware Classes that represent hardware related objects.
Operating system Classes that represent operating system related objects.
Installed applications Classes that represent software related objects.
WMI service management Classes used to manage WMI.
Performance counters Classes that represent formatted and raw performance data.
eg
Win32_SerialPort
The Win32_SerialPort WMI class represents a serial port on a Windows system.
The following syntax is simplified from MOF code and includes all inherited properties.
Code:
class Win32_SerialPort : CIM_SerialController
{
uint16 Availability;
boolean Binary;
uint16 Capabilities[];
string CapabilityDescriptions[];
string Caption;
uint32 ConfigManagerErrorCode;
boolean ConfigManagerUserConfig;
string CreationClassName;
string Description;
string DeviceID;
boolean ErrorCleared;
string ErrorDescription;
datetime InstallDate;
uint32 LastErrorCode;
uint32 MaxBaudRate;
uint32 MaximumInputBufferSize;
uint32 MaximumOutputBufferSize;
uint32 MaxNumberControlled;
string Name;
boolean OSAutoDiscovered;
string PNPDeviceID;
uint16 PowerManagementCapabilities[];
boolean PowerManagementSupported;
uint16 ProtocolSupported;
string ProviderType;
boolean SettableBaudRate;
boolean SettableDataBits;
boolean SettableFlowControl;
boolean SettableParity;
boolean SettableParityCheck;
boolean SettableRLSD;
boolean SettableStopBits;
string Status;
uint16 StatusInfo;
boolean Supports16BitMode;
boolean SupportsDTRDSR;
boolean SupportsElapsedTimeouts;
boolean SupportsIntTimeouts;
boolean SupportsParityCheck;
boolean SupportsRLSD;
boolean SupportsRTSCTS;
boolean SupportsSpecialCharacters;
boolean SupportsXOnXOff;
boolean SupportsXOnXOffSet;
string SystemCreationClassName;
string SystemName;
datetime TimeOfLastReset;
};
As you can see WMI encompasses a great deal - best info from MS.
But I had this handy as I'm writting this up for my Site...