January 8th, 2013

PowerTip: Find Records that Do Not Exist in DNS Cache

Doctor Scripto
Scripter

Summary:  Use Windows PowerShell to find records that do not exist in the client DNS cache.

Hey, Scripting Guy! Question How can I easily find records that do not exist in the DNS client cache on Windows 8 or Windows Server 2012 (or Microsoft Surface)?

Hey, Scripting Guy! Answer Use the –Status property of the Get-DNSClientCache function and specify NotExist, as shown here.

 Get-DnsClientCache -Status NotExist

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback