Skip to content

Instantly share code, notes, and snippets.

@MarcusKohnert
Last active November 28, 2018 09:10
Show Gist options
  • Save MarcusKohnert/44b41edffe240f79493992e0bf2d7304 to your computer and use it in GitHub Desktop.
Save MarcusKohnert/44b41edffe240f79493992e0bf2d7304 to your computer and use it in GitHub Desktop.
PowerShell IIS Log Parser
$header = "date", "time", "method", "uri", "uriQuery", "username", "userAgent", "referer", "status", "substatus", "timeTaken"
Get-ChildItem | Get-Content | ConvertFrom-Csv -Delimiter " " -Header $header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment