I keep getting this error:
PowerCLI C:\> "test.ps1" -AfterDate 08/21/2012 -FileName C:\Report.txt
You must provide a value expression on the right-hand side of the '-' operator.
At line:1 char:13
+ "test.ps1" - <<<< AfterDate 08/21/2012 -FileName C:\Report.txt
+ CategoryInfo : ParserError: (:) , ParentContainsErrorRecordEx
+ FullyQualifiedErrorId : ExpectedValueExpression
I've changed the date several times. I'm assuming this is realated to the format of the date but I can't seem to get it to work.