Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Thursday, April 7, 2011

Powershell format-table

If you supply a property hash to format-table, it will show that column and no others, unless you specify the other columns

... | format-table name,value,@{ label="name_again"; expression = {$_.Name} }

I don't understand why we have a comma separated list of columns here, I haven't seen that syntax elsewhere in PSH yet.

Followers

Blog Archive