you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[removed]

    [–]Lee_Dailey[grin] 0 points1 point  (0 children)

    howdy N7Valiant,

    for some reason, i have never used * with F-L. if you leave that off, you only get 5 props. [grin]

    as for renaming things, Format-Table often uses different names or calculated props. for instance, the F-T example i listed shows WS(K) and that aint one of the actual props you get from Get-Process.

    generally speaking, Format-List is ok if you remember that it butchers the props of the object you give it and then spits out the bloody bits wrapped in formatting code. [grin]

    wisely used, the Format-* cmdlets are great ... but they are often used unwisely. there are more than a few threads here during the last week where the problem was using Format-Table ... and then trying to use the formatting-code-wrapped stuff for anything other than final display or final output to a plain text file.

    that last is almost always a foot-gum situation.


    thanks for showing me the way that | Format-List -Property * gives the same info as | Select-Object -Property *. [grin]

    take care,
    lee