Advertisement
Merzavets

Looping thru IP's in subnet

Dec 1st, 2011
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foreach ($_ in 1..11500) { $s+=[System.Net.Dns]::GetHostAddresses("server{0}.teamviewer.com" -f $_) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement