In SCOM (System Center Operations Manager 2007) related powershell cmdlets, there is a parameter to specify a search criteria. My rant involves the fact that the syntax for it doesn’t match Powershell’s comparison operators at all :(
I’m sure there are very good reasons (the underlying SDK was probably designed long before powershell support was decided on), but it’s still frustrating to learn a different syntax for each tool (such as WMI, which has it’s own syntax. Admittedly, WMI predates Powershell by a LONG time.
Ah well.
* Apologies if this is a duplicate in anyone’s RSS feed. An issue with my web host provider caused the removal of my site's content. My latest backup was prior to this post.