You can collect the output of a commandlet or whole pipeline into a variable
$a = (gci 0.txt)
and then invoke methods of $a
$a.Name
or you can omit the variable
(gci 0.txt).Name
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 )