Created
April 22, 2019 21:38
-
-
Save MatthewJDavis/bc9e4da3781b8cf39cbb42495097da4e to your computer and use it in GitHub Desktop.
How to get web application proxy logs in a specific timeframe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $LogName = 'Microsoft-Windows-WebApplicationProxy/Admin' | |
| [datetime]$StartTime = 'Monday, April 22, 2019 10:00:24 AM' | |
| [datetime]$FinishTime = 'Monday, April 22, 2019 11:00:00 AM' | |
| Get-WinEvent -LogName $LogName | Where-Object { $_.TimeCreated -gt $StartTime -AND $_.TimeCreated -lt $FinishTime } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment