Hello,
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?
Regards
__Leo
Hi,
Here i recommend you to use these two resources from two members of the communities:
Hi,
Here i recommend you to use these two resources from two members of the communities:
Here is the powercli script to unmount and detached multiple datastores.
Unmount and Detach Multiple Datastores from VMware ESXi Hosts