Added new example - find which VMs use specified datastore#752
Added new example - find which VMs use specified datastore#752KronwarsCZ wants to merge 2 commits intovmware:masterfrom
Conversation
|
I have no comment about the example's functionality, but a somewhat related question. |
|
On my old ESXi 6.5 server, I had an issue with a broken NFS datastore mount. The problem occurred because the NFS mount was pointing to a non-existent folder on my NAS after someone changed the folder name directly on the NAS. As a result, I couldn't retrieve any information about the datastore from ESXi, nor could I change its properties or list the VMs that were using it. This example helped me work around this issue. It allowed me to identify which VMs were associated with the broken datastore, so I could delete it from those VMs. After doing that, I was able to completely remove the datastore. |
Added a new example to list all VM names that use a specified Datastore as a VirtualDisk or VirtualCdrom