Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - RuntimeType format uses excessively wide name column

Reply
 
Old 05-24-2006   #1 (permalink)
Alex K. Angelopoulos [MVP]


 
 

RuntimeType format uses excessively wide name column

System.RuntimeType allots 40 characters for the Name column width, with the
net effect of leaving only 20 columns for the BaseType, which is usually a
fully-qualified name. As a result, there is almost always a wide gap between
Name and BaseType, and BaseType is almost always truncated.

I believe Name should have only 20 columns, leaving 40 for the BaseType.
Running all Get-* commands and viewing their output with this change, I
found that only one object type returned - SessionStateCapacityVariable -
will be truncated. Only one BaseType,
System.Security.AccessControl.FileSystemSecurity returned by Get-Acl, is
still truncated with the new column widths.



My System SpecsSystem Spec
Old 05-24-2006   #2 (permalink)
Kevin Loo [MSFT]


 
 

Re: RuntimeType format uses excessively wide name column

Alex, Good point. Please bug this. I can't say this will make it to V1, but
it's definitely worth considering. Thanks.
--
Kevin Loo [MSFT]
Windows PowerShell Development
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.

"Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g> ¼¶¼g©ó¶l¥ó·s»D:ue4A310fGHA.2172@TK2MSFTNGP04.phx.gbl...
> System.RuntimeType allots 40 characters for the Name column width, with
> the net effect of leaving only 20 columns for the BaseType, which is
> usually a fully-qualified name. As a result, there is almost always a wide
> gap between Name and BaseType, and BaseType is almost always truncated.
>
> I believe Name should have only 20 columns, leaving 40 for the BaseType.
> Running all Get-* commands and viewing their output with this change, I
> found that only one object type returned - SessionStateCapacityVariable -
> will be truncated. Only one BaseType,
> System.Security.AccessControl.FileSystemSecurity returned by Get-Acl, is
> still truncated with the new column widths.
>



My System SpecsSystem Spec
Old 05-25-2006   #3 (permalink)
Alex K. Angelopoulos [MVP]


 
 

Re: RuntimeType format uses excessively wide name column

https://connect.microsoft.com/feedba...edbackID=79881

"Kevin Loo [MSFT]" <kevinloo@online.microsoft.com> wrote in message
news:%23mO0DK5fGHA.764@TK2MSFTNGP05.phx.gbl...
> Alex, Good point. Please bug this. I can't say this will make it to V1,
> but it's definitely worth considering. Thanks.
> --
> Kevin Loo [MSFT]
> Windows PowerShell Development
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g>
> ¼¶¼g©ó¶l¥ó·s»D:ue4A310fGHA.2172@TK2MSFTNGP04.phx.gbl...
>> System.RuntimeType allots 40 characters for the Name column width, with
>> the net effect of leaving only 20 columns for the BaseType, which is
>> usually a fully-qualified name. As a result, there is almost always a
>> wide gap between Name and BaseType, and BaseType is almost always
>> truncated.
>>
>> I believe Name should have only 20 columns, leaving 40 for the BaseType.
>> Running all Get-* commands and viewing their output with this change, I
>> found that only one object type returned - SessionStateCapacityVariable -
>> will be truncated. Only one BaseType,
>> System.Security.AccessControl.FileSystemSecurity returned by Get-Acl, is
>> still truncated with the new column widths.
>>

>
>



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
can format-wide display int32 or string as a wide ? PowerShell
Re: Xerox Wide Format Printer 7142 Vista print fax & scan
Cannot print wide format HP CP1700 Vista print fax & scan
How to write a formatted number left-padded right-aligned into a 6-char-wide-column? VB Script
Is there a way to get Format-Wide to sort by column? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46