About 7,950 results
Open links in new tab
  1. windows - Equivalent of wevtutil in powershell? - Super User

    May 22, 2015 · wevtutil is a command in cmd for displaying Windows logs in different formats. What is the equivalent cmdlet in Powershell?

  2. How to clear all Windows event log categories fast - Super User

    Oct 6, 2013 · Try WEvtUtil.exe There's no way via the GUI to clear all logs at once. At least not that I've ever found. :) Loop and delete with intermediate file Here's a batch file that uses …

  3. Clearing Administrative Events Log in Windows10 - Super User

    May 5, 2016 · How To Clear Administrative Events Log The Administrative Events log (listed under Custom Views) in the Event Viewer is a Filter that contains all of the event from the …

  4. windows 11 - How to restore Event Log Files or view Blue screens ...

    Aug 31, 2024 · 1 Someone else deleted my Event Logs with the following command: wevtutil el | Foreach-Object {wevtutil cl "$_"} I wanted to know whether Blue screens occurred while those …

  5. powershell - Clear Application Event Log by Source - Super User

    May 20, 2016 · wevtutil el | Foreach-Object {Write-Host "Clearing $_"; wevtutil cl "$_"} But what I would like to do is remove from the application log only those events that have a particular …

  6. From the terminal, how do I determine the date/time for the last …

    Nov 17, 2020 · findstr "4800 4801" takes the output of wevtutil and searches for lines containing 4800 and 4801, our lock and unlock events. You can change this to whatever event IDs you …

  7. Windows command to list the windows application event log

    Jul 23, 2015 · Wevtutil Applies To: Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012. Enables you to retrieve information about event logs and publishers. …

  8. How to make wevtutil tool return results in UTF-8 format?

    Dec 24, 2015 · I'm writing a script that requires me to look up a specific event in the Windows Event Log using wevtutil tool. The command line goes as such: wevtutil qe System …

  9. What's the equivalent of Wevtutil in XP or 2003? - Super User

    Aug 19, 2014 · The command 'wevtutil epl ...' creates a copy of the logfile. The original poster is not asking how to add a log entry, but rather how to grab a copy of the logfile.

  10. windows - Working with Batch File - Super User

    May 7, 2022 · Use the wevtutil commnad in your batch script. To clear a specific log, you must first know its name. To see a list of Event Logs, run: wevtutil el > Loglist.txt Find the name of …