Powershell – IP Regex find all IPs on log

well you know how to view files with Powershell Command Get-Content, but lets say

you need to find some text on your file ,or find only IP’s ..

good example can be learned from examine IIS Log File, which is a big content file ,or some xml file you need to handle.

here’s a script will help you find only IP’s on the file you’ll select –

 

Scan4Ips

 

 

 

 

 

 

Now ,after you were able to find IP’s on the file won’t you be glad to know who’s ip’s belongs to ?

you can check it out with ResolveIPtoName Script function.

(Visited 133 times, 1 visits today)

Leave a Reply