Making sure that we always get the log files from the remote VM if we manage to start the executing the install script.
Adding the c:\opscode\chef\embedded\bin directory to the PATH in the current process so that we can run ruby by just calling 'ruby.exe' which is necessary so that we can call the chef-client BAT file.
Throw an exception if the invocation of chef-client fails.