Hi All,
I’m very new to PS but would like to use it to achieve my goal, for training and reference purposes.
I have a CSV Weblog, that i want to grab the IP’s from and sort into a different text document, sounds easy enough, but when i try and grab the IP’s it doesn’t seem to play nice,
,User,URL,Categories,Action,Reason,Requests,% 1,mandidavison,https://0.hola,Uncategorized,blocked,,2,0.0 2,mandidavison,https://gisker.com,Uncategorized,blocked,,1,0.0 3,lynneandrews,http://revolution-x.com,Uncategorized,blocked,1,0.0 4,johnsmith,http://216.58.206.46,Uncategorized,blocked,category,2,0.0 5,johnsmith,https://172.217.23.42,Uncategorized,blocked,category,4,0.0 6,johnsmith,https://185.60.216.11,Uncategorized,blocked,category,36,0.2 7,johnsmith,https://185.60.216.15,Uncategorized,blocked,category,4,0.0 8,johnsmith,https://185.60.216.52,Uncategorized,blocked,category,3,0.0 9,johnsmith,https://216.58.198.170,Uncategorized,blocked,category,2,0.0
That’s the format it comes out in, i just want to grab the IP’s, which in this case are under URL. Is there an easy way to do this? Apologies if this is a bit simple