Get Event Logs containing phrase in sortable table view

This is a beautiful one-liner to get Event Logs and display them in a nice grid.

getevents.ps1
Get-EventLog -Logname <NameOfLog(WildcardsOk)> -message <Message(WildcardsOk)> -Newest <[int]#OfNewestMessages>| Out-GridView

Example:

getevents-outlook.ps1
Get-EventLog -Logname Application,System -message "Outlook" -Newest 100 | Out-GridView