What is the error message you are getting back ?
And do you run the script where you call the Invoke-VMScript from a 32-bit or a 64-bit PowerCLI session ?
What is the error message you are getting back ?
And do you run the script where you call the Invoke-VMScript from a 32-bit or a 64-bit PowerCLI session ?