WakeWorld

WakeWorld (http://www.wakeworld.com/forum/index.php)
-   Non-Wakeboarding Discussion (http://www.wakeworld.com/forum/forumdisplay.php?f=4387)
-   -   anyone know powershell? (http://www.wakeworld.com/forum/showthread.php?t=790034)

pesos 09-07-2011 3:14 PM

anyone know powershell?
 
trying to modify this script http://social.technet.microsoft.com/...-a1507232e423/

but when I run it I get

Unexpected token '.' in expression or statement.
At C:\Users\administrator.LUNG\desktop\createbatch.ps 1:11 char:25
+ switch ( $user . <<<< Class )
+ CategoryInfo : ParserError: (.:String) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken

Any ideas?
thanks!
Wes


All times are GMT -7. The time now is 2:40 PM.