mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-20 00:48:17 +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) {
|
foreach($Row in $DomainTable) {
|
||||||
$DomainName = $Row.Domain
|
$DomainName = $Row.Domain
|
||||||
write-progress "Training DNS cache: $DomainName ..."
|
write-progress "Training DNS cache with $DomainName ..."
|
||||||
$Ignore = Resolve-DnsName $DomainName
|
$Ignore = Resolve-DnsName -Name $DomainName -DnsOnly
|
||||||
}
|
}
|
||||||
|
|
||||||
$Count = $DomainTable.Length
|
$Count = $DomainTable.Length
|
||||||
|
Loading…
Reference in New Issue
Block a user