I had a script that went through and was able to unmount and then detached datastore in 5.0. now the update to powercli 5.1 has dropped the following functions and wondering if there is a better way to do this.
unmount-datastore
detach-datastore
The Unmount-Datastore and Detach-Datastore functions come from the following document: Datastore Mount/Unmount Detach/Attach functions. Download the script from the document and load the functions into your session before running your own script.
The Unmount-Datastore and Detach-Datastore functions come from the following document: Datastore Mount/Unmount Detach/Attach functions. Download the script from the document and load the functions into your session before running your own script.