Invoke-VMScript -VM $vm -ScriptType Bash -ScriptText “echo options rotate timeout:1 attempts:3 >> /etc/resolv.conf” -GuestCredential $Cred
Invoke-VMScript -VM $vm -HostCredential $HC -GuestCredential $GC -ScriptType Bash -ScriptText $text And this returned; Invoke-VMScript : 02/07/2014 09:13:26 Invoke-VMScript While performing operation 'Connect to host service 'https://[FQDN]/sdk' at port 902' the following error occured...