In PowerShell v.2, Get-WinEvent provides access to events written to the numerous Windows event logs. In addition, you can also examine event providers and find out which events they can actually generate:
Get-WinEvent -listProvider *PowerShell* |
Foreach-Object { $_.Events } |
Format-Table id, description
Foreach-Object { $_.Events } |
Format-Table id, description