Search code examples
event-logwmi-querywql

WQL to get all log file names


How to get all log file names in WQL?
I tried these but they do not work and returns no key:

select logfilename from Win32_NTEventlogFile
select logfile from Win32_LogEvent

Solution

  • select Name from Win32_NTEventlogFile