mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Added refresh_domains.csv
This commit is contained in:
parent
c49bc29c28
commit
17a251641e
@ -6,5 +6,9 @@
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
|
||||
Resolve-DnsName -name bing.com -DnsOnly
|
||||
$DomainList = import-csv refresh_domains.csv
|
||||
|
||||
foreach($Domain in $DomainList) {
|
||||
ping -c 1 $Domain
|
||||
}
|
||||
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…
Reference in New Issue
Block a user