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.