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!!!