Hi,
I am trying to use to Invoke-VMScript to run some commands inside of RHEL 6/7 guests, but I receive this error:
invoke-vmscript : 5/21/2018 9:10:42 PM Invoke-VMScript Error occured while executing script on guest OS in VM 'blah'. Could not locate
"Bash" script interpreter in any of the expected locations. Probably you do not have enough permissions to execute command within guest.
For this I am just trying to run basic commands like 'pwd' or 'less' pointed at a file just to ty to get it to work. I am using the -Credential parameter to pass credentials that are valid on the RHEL VM. I can SSH into the VM using the same credentials and run the commands just fine.
Googling around didn't lead me to much. Any ideas?
Thanks!