Have you tried using Google Search? I used
WMI query logs[
^] and there appears to be pages of solutions for you to try. Here are just a handful that look useful:
*
wmi query - use wmi to get newest Windows log events - Stack Overflow[
^]
*
C# WMI reading remote event log - Stack Overflow[
^]
*
WMI Tasks: Event Logs (Windows)[
^]
*
WMI Log Files (Windows)[
^]
*
[SOLVED] WMI Query for event log - IT Programming - Spiceworks[
^]
*
windows - WMI command line event log acess - Server Fault[
^]
*
Querying the Event Logs[
^]
*
and much more...[
^]
Thanks Graeme!
You know, I did see some of the links before I posted the question, but they didn't deal with ServiceLogs from a SWbem perspective. The command line utilities have always worked (WEvtUtil and Powershell) but I cannot finc the syntax to display a complete list of the Service Event logs from the early bound
WbemScripting tlb.
Microsoft WMI Scripting V1.2 Library
C:\Windows\system32\wbem\wbemdisp.TLB
It could be the service query I'm running...
winmgmts:{impersonationLevel=impersonate,(Backup, Security)}!\\.\root\cimv2
Or the object query...
select * from Win32_NTEventlogFile
The object query only returns the standard Win7 classes...
Application, HardwareEvents, Internet Explorer, Key Management Service
OAlerts, Security, System, Windows PowerShell
I'd like to see the "Microsoft-Windows-International/Operational" log file, as well as, all of the other service log files.
Can't seem to find the correct root class and/or select query.
Best Regards,
Mark