Testing Samples Using the WMI Wizard

The following are some sample Tests run using the WMI wizard.

Check Memory Usage

Select Win32_OperatingSystem Class

Check FreePhysicalMemory

Or

Select Win32_PerfFormattedData_PerfOS_Memory Class

Check AvailableMBytes

Check Number of Processes Running

Select Win32_OperatingSystem Class

Check NumberOfProcesses

Check Disk Space Usage

Select Win32_PerfFormattedData_PerfDisk_LogicalDisk Class

Check FreeMegabytes

 

Check if Processes are Running

Select Win32_Process Class

Check Name as Primary Key

Check Name Property for each process to test if running

 

Check Printer Status

Select Win32_Printer Class

Check Name as Primary Key

Check Name Property for each printer to test

Check PrinterState Property or another property to test

Check if Services are Running

Select Win32_Service Class

Check Name as Primary Key

Check Name Property for each service to test if running

Check State Property = Running for each service to test if running