Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Check Status of Client DNS Cache

$
0
0

Summary: Use Windows PowerShell 3.0 in Windows 8 to check the status of your client DNS cache.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 in Windows 8 to inspect the DNS cache on my computer for entries that do not have records?

Hey, Scripting Guy! Answer Use the Get-DNSClientCache function, pipe the results to a Where-Object cmdlet, and look for a status that is not equal to 0 (which means success):

Get-DnsClientCache | where status -ne 0


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>