Announcement

Collapse
No announcement yet.

Collect 10 Most Recent Windows Event Logs In Application Category ( Python )

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Collect 10 Most Recent Windows Event Logs In Application Category ( Python )

    You can collect the 10 most recent Windows Event logs in application category with below script:
    import os;
    applogs=os.popen('wevtutil qe Application /f:text /c:10 /rd:True').read()
    print(applogs);


    Example output would be:

    Click image for larger version

Name:	Application log.png
Views:	1
Size:	19.7 KB
ID:	4431
Working...
X