Created
January 24, 2020 15:26
-
-
Save puttyq/96833c2a241ef193fd55a956be77ea41 to your computer and use it in GitHub Desktop.
PowerShell - Quick Domain Resolution (Resolve-DNSName)
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
$getdns = Get-Content .\dns.txt | |
$getdns | foreach {Resolve-DnsName -Type NS $_ | Where-Object -Property Type -EQ "NS" | Select Name, NameHost} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment