Partager via


PowerTip: Find PowerShell Logging Info

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*