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.

1
  • 1
    add |findstr /v /b /c:" "|find /v "Event[" to your line... Commented Aug 11, 2016 at 13:35

1 Answer 1

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["
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.