PowerShell Get-WinEvent EndTime Parameter problem

126 views Asked by At

using:

Get-WinEvent -FilterHashtable @{logname="application";starttime="8/10/2022 10:00:00"}

works perfectly, but: (and there are records in this time span for sure!)

Get-WinEvent -FilterHashtable @{logname="application";starttime="8/10/2022 10:00:00";EndTime="8/11/2022 10:00:00"}

brings a message: no events were found. What is wrong?

0

There are 0 answers