We are trying to use Invoke-VMScript to configure a VM without network connectivity.
When using Invoke-VMScript cmdlet we get the error "Could not locate "Powershell" script interpreter in any of the expected locations. Probably you do not have enough permissions to execute command within guest."
We are using the local administrator account on the vm. We’ve tested running the same script on the VM, and it works.