Tuesday, June 7, 2011

How to test WMI communication

  1. Run wbemtest.exe
  2. Connect to \\servername\root\cimv2
  3. If you receive "WMI Response - The RPC server is unavailable" skip to FW changes
  4. Click Query to perform some test queries
 Select * from win32_Processor
    OUTPUT: Win32_Processor.DeviceID="CPU0"

select * from win32_product
    OUTPUT: List of installed software

select * from Win32_ComputerSystem
    OUTPUT: Win32_ComputerSystem.Name="COMPUTERNAME"