Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by goober43543

  1. goober43543

    Parse logfile for IPs, exclude internal IPs from output

    I have a script that reads the contents of several months of Firewall logs in a folder, using the following commands; ------------------------- $input_path = ‘g:\logs\’ $output_file = ‘g:\logs\extracted_ip_addresses.txt’ $regex = ‘\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b’ select-string -Path...

Part and Inventory Search

Back
Top