VMware Cloud Community
bklynjae
Contributor
Contributor

Script to remove Storage from hosts

Hi All,

Im looking for a script to remove all the storage from all the hosts in a cluster. Not sure how the script would work whether it would be unmount, and then detach or if the storage just gets removed.

Any help would be greatly appreciated.

0 Kudos
1 Reply
eroztech
Contributor
Contributor

Hello,

You can refer below kb article:

Unmounting a LUN or detaching a datastore/storage device from multiple VMware ESXi 5.x/6.0 hosts (20...

-- If you found my comment useful, please consider awarding points for "Correct" or "Helpful" -- Shahzad Khan | Blog: http://vMantra.in
0 Kudos