right now I am working on script which replaces the eventlogger. Basicially I use terms like :
get-eventlog -logname System -EntryType Error -newest 4 | out-file C:\Projects\test.txt
to get all error logs in a text file. In my txt file the I will find this :
5751 Sep 25 11:42 Error Microsoft-Windows... 1054 The processing of Group Policy failed. Windows ...
What I need is the full message, but I wasn't able to find the command to display full messages without these ...
I know it is possible, but I can't find the solution anymore.
How about this?
get-eventlog -logname System -EntryType Error -newest 4 | fl * | out-file C:\logs.txt