All,
I am trying to write a script to get information on all my VM's. I have almost everything down packed, but I cant get the datastore. I want the out output to also show me what datastore the vm resides in.
Here is what I have so far.
Get-VM | Select-Object Name,VMHost,NumCPU,PowerState,MemoryMB
Again, I need to be able to tell what datastore the vm resides in