Invoke-VMScript -VM $vm -ScriptType Bash -ScriptText “echo options rotate timeout:1 attempts:3 >> /etc/resolv.conf” -GuestCredential $Cred