mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-01 16:06:33 +02:00
Added refresh_domains.csv
This commit is contained in:
parent
c49bc29c28
commit
17a251641e
@ -6,5 +6,9 @@
|
|||||||
# Source: github.com/fleschutz/PowerShell
|
# Source: github.com/fleschutz/PowerShell
|
||||||
# License: CC0
|
# License: CC0
|
||||||
|
|
||||||
Resolve-DnsName -name bing.com -DnsOnly
|
$DomainList = import-csv refresh_domains.csv
|
||||||
|
|
||||||
|
foreach($Domain in $DomainList) {
|
||||||
|
ping -c 1 $Domain
|
||||||
|
}
|
||||||
exit 0
|
exit 0
|
||||||
|
5
Scripts/refresh_domains.csv
Normal file
5
Scripts/refresh_domains.csv
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
DOMAIN
|
||||||
|
bing.com
|
||||||
|
fleschutz.de
|
||||||
|
google.com
|
||||||
|
|
|
Loading…
x
Reference in New Issue
Block a user