开发者

Open event viewer from a certain node

开发者 https://www.devze.com 2023-03-27 05:21 出处:网络
What is the command to open windows event viewer displaying a particular node details? For example if I simply use eventvwr command; it opens the UI with Root Node selected. I want Application node s

What is the command to open windows event viewer displaying a particular node details?

For example if I simply use eventvwr command; it opens the UI with Root Node selected. I want Application node selected when it is opened开发者_如何学运维 OR any other node.

Can it be configured programatically?

Thanks.


To view the eventvwr.exe arguments simply type:

eventvwr /?

To specifically open the Application log use the command below:

eventvwr computername /l:"%SystemRoot%\System32\Winevt\Logs\Application.evtx"


For an Application node you'd call it as such:

eventvwr /c:Application


I don't think you can. Your best option is to create a custom view - to filter the events from some specific apps if thats what you want. For command line, 'eventvwr /f' can be used to specify filter.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号