Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Get-VM foreach loop slow?

$
0
0

All,

  I have a list of VM names I am trying to get name and hardware, but this command runs really slow.  Why?

 

$vmlist get-content list.txt

 

$vmlist | % { get-vm -name $_ |select Name,Version | where {$_.version -eq "v7"}

Viewing all articles
Browse latest Browse all 180259

Trending Articles



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