O'Reilly logo
  • Corey Becker thinks this is interesting:

Let’s think about another example, also using a command I have used in Chapters 1 and 2: the Get-EventLog command. Remember we can get the last 10 events in the security event log on the current computer by simply popping the following command into the console:

From

Cover of Learning PowerShell

Note

The following command is incorrect. -Logname should be a single parameter name