1 2 3 4 5 6 7 8 9 |
for($i=1;$i -le 2;$i++){ $urls="https://www.example.com/example.asp?Ref=" + $i + "&let" $results=Invoke-WebRequest $urls $en=($results.links).href foreach($tu in $en) { if($tu -match "\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]+\b"){$tu} } } |