mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-31 11:16:12 +02:00
15 lines
310 B
PowerShell
Executable File
15 lines
310 B
PowerShell
Executable File
#!/snap/bin/powershell
|
|
#
|
|
# PowerShell Script to Refresh the DNS Cache
|
|
# ------------------------------------------
|
|
# Author: Markus Fleschutz
|
|
# Source: github.com/fleschutz/PowerShell
|
|
# License: CC0
|
|
|
|
$DomainList = import-csv refresh_domains.csv
|
|
|
|
foreach($Domain in $DomainList) {
|
|
ping -c 1 $Domain
|
|
}
|
|
exit 0
|