Logging the parameters of WMI Methods using WMI-Activity Trace logs

kassie 0 Reputation points
2024-07-10T16:38:56.85+00:00

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.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,277 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,660 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,364 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,990 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,561 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 46,976 Reputation points
    2024-07-10T18:35:57.61+00:00

  2. 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 and Get-Member to get the properties and methods of objects.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.