Removed the -Last parameter from Filter-Message

Instead of using -Last, the result of Filter-Message can be piped to
Select-Object -Last n