Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Re: Get-view SearchRoot when duplicate .MoRef Exists

$
0
0

I started typing a response that was no I can't replace -searchroot with - server.   I then realized you meant use them both  .  And it worked

 

Foreach ($cluster in (Get-view -ViewType ClusterComputeResource -Server $virtualcenter -Searchroot $DC.moref)){

 


Viewing all articles
Browse latest Browse all 168455

Trending Articles



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