IT Questions and Answers :)

Friday, August 2, 2019

Which of the following PowerShell commands is equivalent to the "ipconfig /flushDNS" command?

Which of the following PowerShell commands is equivalent to the "ipconfig /flushDNS" command?

  • Clear-DNSClientCache
  • Clear-DNSCache
  • Remove-DNSRecords
  • Delete-DNSCache 

EXPLANATION

Clear and Flush DNS with PowerShell

You can use the following command to clear the DNS cache on a Windows system using PowerShell
 
Clear-DnsClientCache

Show DNS Cache with PowerShell

There is also a PowerShell command to show you the DNS cache:
 
Get-DnsClientCache

 


Share:

0 comments:

Post a Comment

Popular Posts