I am pretty new to PowerShell and would like to find a way of listing all events from all logs. My idea is to index each event in Elasticsearch and perform queries on them. I am particularly interested in each event detail:
- Message
- process ID
- Parent Image
- ...
I know there are command to list the logs and events of a particular log file. I was curious to know if a guru has a short and sweet solution while I continue finding my own solution.