Submitted by northben on Fri, 02/10/2012 - 11:54
If you're writing a script that takes parameters with the "param" statement/feature, don't declare any variables before param. It will throw some weird errors! You can put variables in the Begin scriptblock instead.