Advertisement
hl2guide

DNS Cache Clearer - PowerShell

Dec 18th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Clears the DNS Cache
  2. # Version: 1.0
  3. # Author: Deanoman
  4.  
  5. Start-Process 'C:\Windows\System32\IPCONFIG.exe' -ArgumentList '/FlushDNS'
  6. Write-Host
  7. Write-Host 'DNS Cache Flushed.' -ForegroundColor Yellow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement