Remove Datastores in vSphere 6.7

This post was originally published on this site



I’m about to retire an old storage system. All the datastores are evacuated, storage-clusters removed. According to the best-practices, if you want to use powershell, you should use the “Detach-Datastore” commandlet. But there is no such commandlet in the latest PowerCLI anymore. There also is no “unmount-datasore”. I still asume you have to detach the LUNs before unpersenting them to avoid APD issues, but I don’t want to do this all by hand as there are quite a lot LUNs and paths.

Any idea?



Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.