Fixed syntax error
Maybe this was written for an older version of PowerShell? In any case, it
doesn't work in PowerShell 2.0