Scroll Top

Clear DNS cache using PowerShell

FI_Post_PowerShell

In this post I will show how you can clear the DNS cache on a DNS server.

Open PowerShell and run:

PowerShell
Clear-DNSServerCache

This will clear the Cache on your DNS server. I would advise that you take into consideration any impact that this may have on your environment as it may take a little while for the Cache to re-build. Running this command during a maintenance window would probably be best.