CLI in VMWare

1. Can we use vCLI/PowerCLI/Shell on vCenter Server OR connect to VCS? If so, how?
2. What is the difference between  vCLI, PowerCLI and PowerShell commands ie.when do we use them.
3. What is EXTOP and RESXTOP? When do we use it specifically?
4. Are there any other simplified CLI tools to be used with vmware.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
AFAIK PowerCLI is the only CLI way to access VMware from remote. Other stuff is available only on the VMware host CLI itself.
You can't access VMware in PowerShell without PowerCLI. And PowerCLI only works in PowerShell.
I can't answer the parts about vCLI, EXTOP and RESXTOP.
1. Depends on your usage of OR. Is it logixal XOR or AND?
2. what is the difference between a car, a wheel and the road?
3. you dont. if you have vcenter you never see them.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
1. Yes you can use them.
2. Different downloads, and command sets.

see my EE Articles

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI


VMware Community Pack

It's also worth looking at The free VMware Guest Console

The free VMware Guest Console, an experimental application created by VMware Labs, is a great tool for managing vSphere VM processes and files. You can view, sort and kill processes across all VMs, and you can also run a script on all Windows or Linux VMs.

If you do want a script, LucD (1 of *the* premier PowerCLI gurus; literally co-wrote the book on PowerCLI :) ) provides a script in the following link:

HOW TO:  Performance Monitor vSphere 4.x or 5.0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.