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

Command to get VC, DC, Clu and ESXi name of one VM

$
0
0

Commanders:

 

Currently am managing 8 VCs (vSphere 5) through vSphere clinet. So searching one particular VM in all VCs is became horrible in this situation. Thinking of using PowerCLI to make this job easier. So I installed PowerCLI 5 and connected all my VCs.

 

I need a command line to search a VM, which returns the VC Name, Datacenter Name, Cluster Name and ESXi Hostname. I know that its a one line job and very easy for you guys to answer.

 

Thanks in advance!!!


Viewing all articles
Browse latest Browse all 176561

Trending Articles



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