Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Get-VM | Select-Object question

$
0
0

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


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>