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?
Disable the storage IO controller in the data store.
First do unmount the datastore from the host in the cluster.
Delete the data store
Detach the data store(using the esxcli command)
Note - the detach commands will work only for the esxi 5.x and esxi 6.0.