Jak w temacie
Czyszczenie cache DNS-a na stacji roboczej możemy zrealizować na dwa sposoby:
A czy polecenie Clear-DnsClientCache dostępne jest w systemach Windows7?
Przy próbie skorzystania z podanego wyżej polecenia, otrzymuję poniższy błąd:
The term 'clear-DnsClientCache' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:21 + clear-DnsClientCache <<<< + CategoryInfo : ObjectNotFound: (clear-DnsClientCache:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Polecenie dostępne jest w systemach Windows 8.1 i Windows 2012 R2 (PowerShell 4.0). W systemach wcześniejszych należy dokonać aktualizacji PowerShella.