Created
February 24, 2017 15:27
-
-
Save ludwigschuster/2a410b5d6119e441548577c522fd201f to your computer and use it in GitHub Desktop.
get Host IP adresses with Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for($i=1;$i -le 31;$i++){if($i -le 9){Resolve-DnsName("DNS0"+$i+"domain")}else{Resolve-DnsName("DNS"+$i+"domain")}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment