Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Need to parse IIS logs with powershell?

$
0
0

I'm looking for a way to point powershell to the c:\iis directory to parse through iis logs and only output information to the screen that matches certain criteria.  I know is is a very broad question but anyone got any insight on how I could start?

would I use get-file or get-content?  Or either?

O would need something like get-content path to contect | where {item matches xxxxxx}

Any thoughts?  Thx


JCtech1123, Cheers


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>