我可以使用以下命令从事件日志中获取MsiInstaller生成的最新5个事件-
wevtutil qe Application /rd:true /f:text /c:5 /q:"*[System[Provider[@Name='MsiInstaller']]]"但输出过于描述性。是否可以仅获取描述字段作为输出。
发布于 2016-08-12 17:22:08
正如Stephan建议的那样,它工作得很完美。下面是最后的字符串,对于像我这样的人来说,正在寻找解决方案。
wevtutil qe Application /rd:true /f:text /c:5 /q:"*[System[Provider[@Name='MsiInstaller']]]" |findstr /v /b /c:" "|find /v "Event["https://stackoverflow.com/questions/38897127
复制相似问题