tag:blogger.com,1999:blog-8600848.post5847248224030470052..comments2023-08-04T14:50:42.868+02:00Comments on msgoodies: PowerShell, write-verbose word wrapsAnonymoushttp://www.blogger.com/profile/14713138671966546640noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8600848.post-10791707779197062012015-09-03T18:33:34.440+02:002015-09-03T18:33:34.440+02:00Funny how it's 2015, ( that makes it 8 years l...Funny how it's 2015, ( that makes it 8 years later,) and this problem is still there. I have resorted to not messign with the consoel width at all, but rather using out-string -width ($host.ui.rawui.buffersize.width -1)<br />Example:<br />ls *.png | out-string -width ($host.ui.rawui.buffersize.width -1) | write-verboseConrad Braamhttps://www.blogger.com/profile/14516128061510018135noreply@blogger.comtag:blogger.com,1999:blog-8600848.post-53044964482591629762009-09-28T22:21:45.924+02:002009-09-28T22:21:45.924+02:00Thanks VERY much for posting your solution!
I was...Thanks VERY much for posting your solution! <br />I was already hacking the $host settings for WindowSize, with mixed results. After adding your registry hacks, my logs are now free of pesky word wraps.<br />It's a shame they couldn't have designed a nice product like powershell to avoid this Windows-legacy ugliness...Anonymousnoreply@blogger.com