December 23, 2024 at 6:43 pm
get-ChildItem C:\ -recurse -erroraction silentlycontinue | sort length -descending | select -first 10 FullName,length
Result:
C:\Program Files\Microsoft SQL Server\120\Setup Bootstra... 88821760
FullName is not getting printed.How can I fix this ?
Thanks
December 24, 2024 at 7:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
December 27, 2024 at 4:58 am
I don't work with Powershell in most cases, which means I'm not very good with it. GOOGLE seems to work for this though.
Try this link.
https://sqlstudies.com/2022/07/07/powershellbasics-expanding-the-column-width-to-avoid-truncation/
--Jeff Moden
Change is inevitable... Change for the better is not.
January 2, 2025 at 7:44 am
Thank you Jeff. Looks like my google search was not good enough. Thanks again.That helped.
January 3, 2025 at 4:49 am
Thank you Jeff. Looks like my google search was not good enough. Thanks again.That helped.
Heh... I just get lucky that wway.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply