Windows Server 2012 R2: 모든 이벤트 지우기

테스트 서버에 이벤트가 가득 차버렸다. 신경 쓰여서 삭제하기로 함

clip_image001

관리자 권한으로 PowerShell 실행

clip_image002

wevtutil el | Foreach-Object {wevtutil cl “$_”}

명령을 입력

clip_image003

이벤트 뷰어를 실행하면 거의 모든 이벤트가 제거됨

To clear the…

  • Application event log:
    wevtutil cl Application
  • Security event log:
    wevtutil cl Security
  • Setup event log:
    wevtutil cl Setup
  • System event log:
    wevtutil cl System

You can clear any of the Event logs the same way, all you have to know is the log name. To get a full list of the log names, simply enter wevtutil el in the elevated PowerShell window.
출처: <http://www.sevenforums.com/tutorials/320451-event-viewer-clear-all-events.html>

sevenforums.com에서 정보를 얻음.

이것도 살펴보세요!

메인 컴퓨터 윈도우 재설치: 프로그램 설치용 winget 스크립트, 그 외 프로그램들(기록용)

마이크로소프트365https://office.com Hyper-V 설치 via. https://learn.microsoft.com/ko-kr/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 윈겟(Winget) 프로그램 자동 설치 스크립트 …

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다