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 )
Wednesday, February 4, 2015
Powershell
I think what annoys me most about Powershell is the inconsistency. With PHP it's the inconsistent function naming, with Powershell it's the different parameter interfaces of the cmdlets.
I can't for the life of me see why I either have to use get-member as a filter, or say
get-member -inputobject $a
whereas I can say
$a = new-object DateTime
without having to specify any tiresome -inputtype switch.