August 23rd, 2013

PowerTip: Find PowerShell Logging Info

Doctor Scripto
Scripter

Summary: Use a Windows PowerShell cmdlet to retrieve logged information about Windows PowerShell.

Hey, Scripting Guy! Question How can I easily find logged information about Windows PowerShell?

Hey, Scripting Guy! Answer Use the Get-WinEvent cmdlet and look for a LogName with powershell in the name:

Get-WinEvent -LogName *powershell*

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.