您的位置:首页 > 其它

Datastore Mount/Unmount Detach/Attach functions

2017-11-21 14:15 387 查看
A set of functions to allow you to unmount/mount and detach/attach datastores from multiple hosts.
List all datastores and their mount/detach status by passing your datastore object(s) into the Get-DatastoreMountInfo advanced function as shown below:



To unmount a datastore pass your datastore object(s) to the Unmount-Datastore advanced function as seen below, this will unmount the datastore from all attached hosts:



Once unmounted you will then be able to detach the datastore from the hosts using the Detach-Datastore cmdlet as shown below:




Script download
https://communities.vmware.com/servlet/JiveServlet/download/18008-1-78898/DatastoreFunctions.txt

Forward from
https://communities.vmware.com/docs/DOC-18008
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  datastore