wevtutil qe Application
hi all,
i'm struggling query event , hoping may able help, query is:
wevtutil qe application "/q:*[application [(eventid=2)]]" /f:text /rd:true > c:\temp\eventid_1530.txt
the event i'm searching is:
- <event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <system> <provider name="microsoft-windows-search-profilenotify" guid="{fc6f77dd-769a-470e-bcf9-1b6555a118be}" eventsourcename="windows search service profile notification" /> <eventid qualifiers="49152">2</eventid> <version>0</version> <level>2</level> <task>0</task> <opcode>0</opcode> <keywords>0x80000000000000</keywords> <timecreated systemtime="2014-10-30t15:14:42.000000000z" /> <eventrecordid>59415</eventrecordid> <correlation /> <execution processid="0" threadid="0" /> <channel>application</channel> <computer>pc.domain.local</computer> <security /> </system> - <eventdata> <data name="useraccount">domain\user</data> <data name="errorcode">0x80004005</data> <data name="errormessage">unspecified error</data> <binary /> </eventdata> </event>take , let me know think?
hello,
based on test, seems command incorrect. please try run following command again. believe command wantd.
wevtutil query-events application /q:"event[system[(eventid=2)]]" /rd:true /format:text > c:\test.txt
if post helps you, please click mark answer button @ top of message. marking post answered, others find answer faster.
Windows Server > Windows Server General Forum
Comments
Post a Comment