Hello Techies,
Looking for some PowerShell script or command to extract the storage details from VM's hosted on Hyper-V, for the below scenario: -
We have one 1 Hyper-V Server which is connected to some external storage boxes (NetApp, EMC, or anything else) and it also has local disk’s as well. This Hyper-V server is currently hosting a VM. Now some of the drives of the VM’s are created in both local
& external storages.
Something like this VM Name --> VM1
Drive configuration of VM 1 --> C:\ -- on Local disk of Hyper-V server , D:\ on external storage 1 -- NetApp and E:\ on external storage 2 -- EMC.
Now I’m trying to get some scripts or commands which can be executed either at the Hyper-V or VM level which can list which drives of the VM’s are connected to which storage boxes (including both Local & external). Along with the total & free space
available for each drive.
Any leads will be really helpful.
Thanks,
Samojit Das