{"id":99,"date":"2008-12-12T20:57:21","date_gmt":"2008-12-12T19:57:21","guid":{"rendered":"http:\/\/www.amikkelsen.com\/?p=99"},"modified":"2008-12-12T20:57:21","modified_gmt":"2008-12-12T19:57:21","slug":"copy-to-and-run-any-file-from-your-host-to-all-vms-in-a-single-script","status":"publish","type":"post","link":"https:\/\/www.amikkelsen.com\/?p=99","title":{"rendered":"Copy to and run any file from your host to all VM&#8217;s in a single script"},"content":{"rendered":"<p>Today i came across a post on Yellowbricks.com about the <a href=\"http:\/\/blogs.vmware.com\/vix\/\" target=\"_blank\">VIX API<\/a>.<\/p>\n<p>Duncan writes about how he was able to copy a file (vb script) from his labtop to all his VM&#8217;s in a single script, and then execute the script on all VM&#8217;s from the same script &#8211; and much much more.<br \/>\n<a href=\"http:\/\/www.yellow-bricks.com\/2008\/12\/12\/zero-out-all-vms-from-just-one-script\/\" target=\"_blank\">Read more<\/a><\/p>\n<p>This got me thinking, the possebilities are endless \ud83d\ude09<\/p>\n<ul>\n<li>Install MSI packages in your VM without the use of SMS.<\/li>\n<li>Start\/stop services based om a script or other thinks.<\/li>\n<li>Copy a file to\/from a VM to the host that executes the script &#8211; like config or log files.<\/li>\n<li>etc&#8230;.<\/li>\n<\/ul>\n<p>The <a href=\"http:\/\/blogs.vmware.com\/vix\/\" target=\"_blank\">VIX API<\/a> run not only on ESX but also on Workstation and Server versions.<\/p>\n<p>So now i just have to find the time to get cracking on some code&#8230;..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today i came across a post on Yellowbricks.com about the VIX API. Duncan writes about how he was able to copy a file (vb script) from his labtop to all his VM&#8217;s in a single script, and then execute the script on all VM&#8217;s from the same script &#8211; and much much more. Read more\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.amikkelsen.com\/?p=99\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13],"tags":[63,24,62,61],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-scripting","category-tools","tag-msi","tag-scripts","tag-sdk","tag-vix"],"_links":{"self":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":1,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}