mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 06:50:09 +00:00
add flush dns (#3953)
This commit is contained in:
@@ -2140,7 +2140,7 @@
|
|||||||
|
|
||||||
Copy-Item $hosts \"$hosts.bak\"
|
Copy-Item $hosts \"$hosts.bak\"
|
||||||
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
Invoke-WebRequest $hostsUrl -OutFile $hosts
|
||||||
ipconfig flushdns
|
ipconfig /flushdns
|
||||||
|
|
||||||
Write-Host \"Added Adobe url block list from host file\"
|
Write-Host \"Added Adobe url block list from host file\"
|
||||||
"
|
"
|
||||||
@@ -2152,7 +2152,7 @@
|
|||||||
|
|
||||||
Copy-Item $backup $hosts
|
Copy-Item $backup $hosts
|
||||||
Remove-Item $backup
|
Remove-Item $backup
|
||||||
ipconfig flushdns
|
ipconfig /flushdns
|
||||||
|
|
||||||
Write-Host \"Removed Adobe url block list from host file\"
|
Write-Host \"Removed Adobe url block list from host file\"
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user