Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 480

PowerShell GUIs • Re: full output to .txt file

$
0
0
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

Statistics: Posted by owinsloe — Mon Jan 08, 2024 3:18 pm



Viewing all articles
Browse latest Browse all 480

Trending Articles