have a play with something like the following
Get-EventLog -logname application -entrytype error -Newest 25 | ft -autosize -wrap | out-file c:\temp\text.txt -width 300
or, just select the objects that you are after if you dont like the formatting.
explained here
https://stackoverflow.com/questions/491 ... -of-values
Get-EventLog -logname application -entrytype error -Newest 25 | ft -autosize -wrap | out-file c:\temp\text.txt -width 300
or, just select the objects that you are after if you dont like the formatting.
explained here
https://stackoverflow.com/questions/491 ... -of-values
Statistics: Posted by owinsloe — Mon Jan 08, 2024 3:18 pm