top of page
My photo


  • Siddartha Kumar Das

Removing Data store from ESXi

Hi All, again come with another blog for automation for DS removal.

VMware allows us in many ways to remove datastore. Let’s do it using PowerCLI.

I use this every day, so I think it will help others also. So let’s start.

How to Do the Removal?

  1. Disable the storage IO controller in the data store.

  2. First do unmount the datastore from the host in the cluster.

  3. Delete the data store

  4. Detach the data store(using the esxcli command)

Note - the detach commands will work only for the esxi 5.x and esxi 6.0.

Thanks for visiting 



  • Linkedin
  • Wix Facebook page
  • Wix Twitter page
Subscribe to get exclusive updates
bottom of page