VMware Cloud Community
comeback2000
Contributor
Contributor

How to get data store name from get-harddisk

I was planning to create a script to add space to multiple VM. 

For that i need to find the datastore name for all the VM which was in my list. And  i need to store that in one file 

But i was not able to see the full datastore name 

Then i will make a file like this below with all VMname.

vmname;datasore;10GB;flat;thin  

Reply
0 Kudos
0 Replies