![]() "Batch", and click the "Generate" button to generate the code. Select the scripting language you want to use, e.g. To use these queries in scripts, download and start WMIGen, select the appropriate namespace ( root/CIMV2 in most cases), and scroll to the appropriate class, e.g. objReg.GetQWordValue HKEY_LOCAL_MACHINE, strRegKey, "HardwareInformation.qwMemorySize", lngVidMem.strRegKey = "SYSTEM\CurrentControlSet\Control\Class\!//./root/default:StdRegProv" ).Local=TRUE AND NOT PrintProcessor='winprint' Windows 8.11, lists physical adapters only Instances of these classes can be linked by their shared InstanceName property MediaType can also used to get an indication of the floppy drive's capacity, but it may be unreliable if no disk is loaded MediaType IS NOT NULL AND MediaType != 0 AND MediaType != 11 AND MediaType != 12 ![]() ![]() ![]() Physical disks more reliable than root/CIMV2's Win32_DiskDrive The following table lists a collection of WMI classes and queries that can be useful for hardware inventories. VoltCraft Energy Logger 3500 Configuration.
0 Comments
Leave a Reply. |