1
Hello, in this section i want to know how to filter an event which contain Data with some words, for example:
Right Syntax:
*[EventData[Data[@Name='SourceAddress'] ='192.168.1.2']]
result: search all Events which Source Address = 192.168.1.2.
but i want to search all Events which contain LIKE 192.168.
Wrong Syntax:
*[EventData[Data[@Name='SourceAddress'] Like '192.168.']]
1
I think you may need to use PowerShell for that. http://stackoverflow.com/questions/8671194/using-xpath-starts-with-or-contains-functions-to-search-windows-event-logs
– w32sh – 2016-08-05T18:06:08.817