..
/ Clear-DnsClientCache
Clears the contents of the DNS client cache
Functions:
Network
Type:
Cmdlets
Toolsets:
Builtin
CIMSession
Network
Clear DNS cache
Clear-DnsClientCache -CimSession $s
Usecase
Clear the DNS cache from any DNS entries that the attacker might have (accidentally) placed there
Comments
Create CimSession
$s
using
New-CimSession
PowerShell Module:
DnsClient
Mitre Att&ck
T1047
Updated: 2023-07-01
Contributor: Arris Huijgen (
bitsadmin
)