{"id":194,"date":"2019-01-22T12:31:17","date_gmt":"2019-01-22T10:31:17","guid":{"rendered":"https:\/\/vmoller.dk\/?p=194"},"modified":"2019-01-22T12:50:24","modified_gmt":"2019-01-22T10:50:24","slug":"vm-folder-remove-deletes-vm-or-not","status":"publish","type":"post","link":"https:\/\/vmoller.dk\/index.php\/2019\/01\/22\/vm-folder-remove-deletes-vm-or-not\/","title":{"rendered":"VM folder remove, deletes VM or not?"},"content":{"rendered":"\n<p>I&#8217;ve just seen this in the release notes for VMware vCenter Server Appliance 6.7 Update 1b:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>Removing a virtual machine folder from the inventory by using the vSphere Client might delete all virtual machines<\/em><\/p><p><em><br>In the vSphere Client, if you right-click on a folder and select Remove from Inventory from the drop-down menu, the action might delete all virtual machines in that folder from the disk and underlying datastore, and cause data loss.<br><\/em><\/p><p><em> This issue is resolved in this release.<\/em><\/p><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>I&#8217;ve just checked this in my lab on the 6.7 U1b release &#8211; when I delete a VMfolder with a VM inside &#8211; the VM gets removed from inventory but not deleted on the datastore!<\/p>\n\n\n\n<p>If I delete a VMfolder containing a VM, in vCenter 6.5 the VM gets deleted in the datastore!<\/p>\n\n\n\n<p>Be careful when deleting virtual machine folders!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve just seen this in the release notes for VMware vCenter Server Appliance 6.7 Update 1b: Removing a virtual machine folder from the inventory by using the vSphere Client might delete all virtual machines In the vSphere Client, if you right-click on a folder and select Remove from Inventory from the drop-down menu, the action [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[20,11,6,7],"tags":[23,24,15,4],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-esxi","category-vcenter","category-vmware","category-vsphere","tag-esxi","tag-vcenter","tag-vcsa","tag-vsphere"],"_links":{"self":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":14,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"predecessor-version":[{"id":213,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions\/213"}],"wp:attachment":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}