This might be helpful: https://learn.microsoft.com/en-us/windows/win32/wmisdk/tracing-wmi-activity
Logging the parameters of WMI Methods using WMI-Activity Trace logs
When logging WMI calls and queries via WMI-Activity Trace logs, I can see all the method invocations being logged, but not the method's parameters. As I'm looking to work around certain hardware/driver issues with my laptop, I absolutely must know what the method parameters of the WMI calls are, but as it stands I have not been able to find any way of doing so.
I'd also appreciate alternative methods of logging WMI activity that support recording method parameters.
2 answers
Sort by: Most helpful
-
-
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
2024-07-11T02:39:01.9833333+00:00 You could try to use
Get-WmiObject
to get instances of WMI classes andGet-Member
to get the properties and methods of objects.