$ 0 0 You are calling Invoke-VMScript from a 64-bit session it seems.Start the 32-bit PowerCLI version and try from there