wevtutil el | Foreach-Object {wevtutil cl "$_"}
Warining! Command will clear ALL events on ALL event logs!
/Geecoholic
wevtutil el | Foreach-Object {wevtutil cl "$_"}
Warining! Command will clear ALL events on ALL event logs!
Log Name: Application
Source: Application Error
Date: 3/9/2016 4:37:41 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
Faulting application name: lsass.exe, version: 6.3.9600.17415, time stamp: 0x545042fe
Faulting module name: ntdsai.dll, version: 6.3.9600.18009, time stamp: 0x55c8e51c
Exception code: 0xc0000005
Fault offset: 0x0000000000219d67
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Faulting package full name: %14
Faulting package-relative application ID: %15
Log Name: Application
Source: Microsoft-Windows-Wininit
Date: 3/9/2016 4:37:49 PM
Event ID: 1015
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
A critical system process, C:\Windows\system32\lsass.exe, failed with status code c0000005. The machine must now be restarted.
Log Name: System
Source: Service Control Manager
Date: 3/16/2016 5:43:55 AM
Event ID: 7036
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
The DNS Client service entered the running state.
Log Name: System
Source: Service Control Manager
Date: 3/16/2016 5:43:55 AM
Event ID: 7036
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
The DNS Client service entered the stopped state.
Log Name: System
Source: Service Control Manager
Date: 3/16/2016 5:23:55 AM
Event ID: 7036
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
The DNS Client service entered the running state.
Log Name: System
Source: User32
Date: 2/28/2016 1:57:06 AM
Event ID: 1074
Task Category: None
Level: Information
Keywords: Classic
User: SYSTEM
Computer: COMPUTERNAME.DOMAIN
Description:
The process C:\Windows\system32\svchost.exe (COMPUTERNAME) has initiated the restart of computer COMPUTERNAME on behalf of user NT AUTHORITY\SYSTEM for the following reason: Operating System: Recovery (Planned)
Reason Code: 0x80020002
Shutdown Type: restart
Log Name: System
Source: EventLog
Date: 2/28/2016 1:59:18 AM
Event ID: 6005
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: COMPUTERNAME.DOMAIN
Description:
The Event log service was started.