.. / Clear-Eventlog

Clears all entries from specified event logs on the local or remote computers.


Functions:
Type:
Toolsets:

Logs

Clear various logs on various computers

Clear-EventLog -LogName Application,Security,System -ComputerName W10.ad.bitsadmin.com,W11.ad.bitsadmin.com
Usecase
Cover tracks clearing past events in the various logs

Comments
Be aware that this leaves an event stating that the Security event log has been cleared (event id 1102)

Mitre Att&ck
T1070.001




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)