Forum Discussion
Hi Cole
I have actually created 2 Datasources one for CPU and one for Uptime using CIM as I find an error with WMI (invalid class) on these 2 fairly often that even thou we run through all the fixes it still doesn't get resolved. Then CIM is the answer. Would be handy to have a whole suite of Datasources in CIM for sure :)
- Patrick_Rouse3 months ago
Product Manager
If you don't mind, please provide an example of an official module that uses WMI rather than and what data collection change you'd like to see? Are you perhaps referring to modules like "WinSystemUptime" that uses the WQL_Query WMI Data Collection type with the the Win32_PerfRawData_PerfOS_System class?
Please let me know and I'll look into this for you. Thanks.- Barb4 days ago
Advisor
Hi Patrick Sorry for the delay I have been very busy. Yes we are talking about WinSystemUptime and CPU and memory and anything else that can be retrieved with CIM instead of WMI.
- Barb4 days ago
Advisor
I have this basic CIM one for uptime
Locator
AACZFJ
simply using
(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime