Adding function to execute remote scripts on azure VMs.