Forum Discussion
ZoeyHall
Aug 08, 2024Copper Contributor
Using Get-WinEvent to Retrieve Events within a Specific Time Period
Does anyone know if it is possible to define a time range when using Get-WinEvent in PowerShell? It appears to work when specifying StartTime, but encounters issues when setting both StartTime and En...
Aaliyahob
Aug 29, 2024Copper Contributor
If you still encounter issues, check if the Windows Event Log contains events in that specific time range and if the time zone settings are correct, as this may affect the results.