get-eventlog Application | where {$_.eventID -eq "1221"} | select message | select -first 10
This will give you the 10 most recent 1221 events and only show you the message, not the index, time, type, source and event ID.
Wednesday, January 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment