0

I can fetch latest 5 events generated by MsiInstaller from Event logs with -

wevtutil qe Application /rd:true /f:text /c:5 /q:"*[System[Provider[@Name='MsiInstaller']]]"

But the output is too descriptive. Is it possible to get only the description field as the output.

A_N
  • 127
  • 1
  • 1
  • 14

1 Answers1

0

As suggested by Stephan it worked perfectly. Below is the final string, for anyone like me, looking for a solution.

wevtutil qe Application /rd:true /f:text /c:5 /q:"*[System[Provider[@Name='MsiInstaller']]]" |findstr /v /b /c:" "|find /v "Event["
Community
  • 1
  • 1
A_N
  • 127
  • 1
  • 1
  • 14