November 13th, 2014

PowerTip: Use PowerShell to Display Event Viewer

Doctor Scripto
Scripter

Summary: Learn how to use Windows PowerShell to display the Event Viewer tool.

Hey, Scripting Guy! Question I often use the Event Viewer, but I have a hard time finding it or remembering its name.
           How can I use Windows PowerShell to see the Event Viewer?

Hey, Scripting Guy! Answer Use the Show-EventLog cmdlet—Tab expansion works so you do not have to type much,
           and it is easier to remember and type than EventVwr:

Show-EventLog

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.