Hi,
The following WMI query executes fine and outputs the Processor details
Now, I also want to execute the below query
which would get BIOS details.
But, how can I execute both the query in one fell swoop ie. in a bulk.
Note : There is some snmp (protocol) command called snmpbulkget that actually fetches bulk data from a network entiry
with one command. Is there anything similar to this in WMI that fetches bulk data.
Thanks in Advance
The following WMI query executes fine and outputs the Processor details
Code:
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor")
For Each objItem in colItems
Wscript.Echo "Address Width: " & objItem.AddressWidth
Wscript.Echo "Architecture: " & objItem.Architecture
Wscript.Echo "Availability: " & objItem.Availability
Wscript.Echo "CPU Status: " & objItem.CpuStatus
Next
Code:
Set colBIOS = objWMIService.ExecQuery _
("Select * from Win32_BIOS")
But, how can I execute both the query in one fell swoop ie. in a bulk.
Note : There is some snmp (protocol) command called snmpbulkget that actually fetches bulk data from a network entiry
with one command. Is there anything similar to this in WMI that fetches bulk data.
Thanks in Advance