VMware Cloud Community
ephillipsme
Enthusiast
Enthusiast
Jump to solution

Unmount-datastore in 5.1

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

~Ernie
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RvdNieuwendijk
Leadership
Leadership
Jump to solution

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.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition

View solution in original post

0 Kudos
1 Reply
RvdNieuwendijk
Leadership
Leadership
Jump to solution

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.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos