1

I have got some saved eventlogfiles (*.evtx). I want to search the ml-data for a specific textstring.

I found this solution for the current system eventlog:

Get-EventLog -LogName APPLICATION -After 04/01/2018 | Where-Object { $_.Message -like '*AVAST*' }

Is it possible to search a saved eventlog file with this string?

1 Answer 1

1

Use the Get-WinEvent cmdlet,

Get-WinEvent -Path C:\file.evtx | Where-Object { $_.Message -like '*AVAST*' }
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.