mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 01:48:20 +02:00
Added -DnsOnly
This commit is contained in:
parent
bbae3709ab
commit
76e253bc11
@ -10,8 +10,8 @@ $DomainTable = import-csv domain_table.csv
|
||||
|
||||
foreach($Row in $DomainTable) {
|
||||
$DomainName = $Row.Domain
|
||||
write-progress "Training DNS cache: $DomainName ..."
|
||||
$Ignore = Resolve-DnsName $DomainName
|
||||
write-progress "Training DNS cache with $DomainName ..."
|
||||
$Ignore = Resolve-DnsName -Name $DomainName -DnsOnly
|
||||
}
|
||||
|
||||
$Count = $DomainTable.Length
|
||||
|
Loading…
Reference in New Issue
Block a user