3 responses to “Better error messages for PowerShell ValidatePattern”

  1. Dew Drop – June 16, 2010 | Alvin Ashcraft's Morning Dew

    [...] Better error messages for PowerShell ValidatePattern (Joel Bennett) [...]

  2. BartekB

    That’s pretty cool, but being a simple IT guy I have no idea how make my PowerShell know that this kind of Validate* exists. Should I compile it in special way…? Import as binary module…? :) Anyway – good to know that error messages don’t have to be so cryptic.. :>