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...
Rogerres
Aug 27, 2024Copper Contributor
The Get-WinEvent cmdlet allows you to filter events based on a variety of criteria, including time, but the way it handles StartTime and EndTime is dependent on the specific format and the events being logged.