Thanks, that worked - i'm now happily getting other errors (but all relating to the powershell scripts i'm running).
Cheers
Roger