I have a problem with WMI Classes, i dont know why but i dont have this class "Win32_PerfFormattedData_Tcpip_NetworkInterface" i checked it with WMI CMI Studio and i cant find the class.
When i try to do a querry i get error because the system can not find the class for do the querry.
I try to restore de WMI repository and nothing, any idea please. I dont know what more can i do.
You need to have someone fix your WMI. It is not a scripting issue. Search for "repair WMI" and look for the MS articles and tools on WMI repairs.
Actually this can also happen if the performance subsystem is damaged or not running. Look in logs for an indication that the perrf cunters are not being loaded.
You can try and check the counters with this:
(get-counter -ListSet 'network adapter').Counter
On Win 7 and earlier
(get-counter -ListSet 'network interface').Counter
I tryed everything but it not works. Please can you tell me where i can see the logs for check if all is ok. Because i dont know what more can i do.
Thank you very much.
- Edited by accurate-systems 16 hours 54 minutes ago
I am betting that it is the perf counters that are failing to load. Run perfmon and look for the counters for the net adapter.
Contact Microsoft support for assistance with rebuilding the perf system.
https://support.microsoft.com/en-us/kb/300956
- Edited by accurate-systems Thursday, July 23, 2015 2:15 PM