The latest post in the PowerShell Box of tricks series is here.
I created this function because I like to use Out-GridView and specify only a few records so it is quicker on remote systems. I like Out-GridView as it enables me to filter easily by typing in the top box. This is most often used via the simple GUI I have created. At the command line I would just use Get-EventLog
The function is shown below. It is important to know that the $log parameter is CaSeSensItive
The Code is here Show-EventLog