List Windows Logs

Powershell is really nice and useful. Although it requires a learning cost as most of the other languages, for windows admis it may make the life better and easier.

In the sample below, all windows log file names are printed to the screen. By the way, if working with windows logs search or look automation, check “wevutil.exe” (

wevtutil.exe el|%{Write-Host $_}