Summary: Learn how to use Windows PowerShell to query multiple event logs at one time.
How can I use Windows PowerShell to query events that happened and may be in multiple event logs?
Use the Get-WinEvent cmdlet, specify the LogName parameter for both logs, and specify today
for the StartTime, for example:
Get-WinEvent @{logname='application','system';starttime=[datetime]::today }
0 comments