I have a below powershell wmi query and I want the vbscript equivalent query for the same.
(get-wmiobject ProcessorStatus -namespace root\wmi).PerfStates.State
ProcessorStatus WMI class contains Perfstates property which is an object of PerformanceStates WMI class. PerformanceStates WMI class contains State property which is again an object of another class called PerformanceState. This class contains Flags, Frequency and PercentFrequency properties which are our final values we are looking for.