Learn about Windows PowerShell
Summary: Discover all of the event logs on a server by using Windows PowerShell.
How can I discover the event logs that are available on my server?
There two ways to do this.
If you want the classic-type event logs, use:
If you want to see all of the event logs, including the new style logs that were introduced in Windows Server 2008 and Windows Vista, use:
Get-WinEvent -ListLog *
Note You need the wildcard character (*); otherwise, you will generate an error message.