mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-29 11:24:27 +01:00
Improved refresh_dns_cache.ps1
This commit is contained in:
parent
17a251641e
commit
93687c7137
@ -6,9 +6,10 @@
|
|||||||
# Source: github.com/fleschutz/PowerShell
|
# Source: github.com/fleschutz/PowerShell
|
||||||
# License: CC0
|
# License: CC0
|
||||||
|
|
||||||
$DomainList = import-csv refresh_domains.csv
|
$DomainTable = import-csv refresh_domains.csv
|
||||||
|
|
||||||
foreach($Domain in $DomainList) {
|
foreach($Line in $DomainTable) {
|
||||||
ping -c 1 $Domain
|
$Ignore = Invoke-WebRequest $Line.Domain
|
||||||
}
|
}
|
||||||
|
write-host "Done."
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,5 +1,22 @@
|
|||||||
DOMAIN
|
Domain
|
||||||
|
aldi-sued.de
|
||||||
|
all-in.de
|
||||||
|
amazon.com
|
||||||
|
amazon.de
|
||||||
|
bild.de
|
||||||
bing.com
|
bing.com
|
||||||
|
bing.de
|
||||||
|
ebook300.com
|
||||||
fleschutz.de
|
fleschutz.de
|
||||||
|
fritz.box
|
||||||
|
golem.de
|
||||||
google.com
|
google.com
|
||||||
|
heise.de
|
||||||
|
lidl.de
|
||||||
|
slashdot.com
|
||||||
|
microsoft.com
|
||||||
|
ubuntu.com
|
||||||
|
wired.com
|
||||||
|
youtube.com
|
||||||
|
youtube.de
|
||||||
|
zdf.de
|
||||||
|
|
Loading…
Reference in New Issue
Block a user