Last active
August 6, 2018 12:41
-
-
Save BanterBoy/42f00e7e1a370e91b19bc6468500c2e3 to your computer and use it in GitHub Desktop.
Resolve PTR for an array of IP's
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
$IPs = New-Object System.Collections.ArrayList | |
$IPs.AddRange( | |
( | |
"64.4.250.33", | |
"64.4.250.32", | |
"23.43.65.124", | |
"23.195.132.187", | |
"52.23.120.130", | |
"52.20.68.174", | |
"52.1.33.228", | |
"34.199.7.143", | |
"52.87.71.97", | |
"34.192.92.107", | |
"212.48.90.69", | |
"52.55.151.194", | |
"34.202.89.57" | |
) | |
) | |
foreach($IP in $IPs) { | |
Resolve-DnsName -Name $IP -Type PTR | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment