Exchange 2010 - running commands from desktop PowerSehll

I have PowerShell V3 running on my desktop.
I want to run Exchange 2010 comamnds from PS, but I do not want to connect to a remoter server.

I just want to run commands off my desktop via PowerShell.
Does anyone know how to do that?

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.

Neil RussellTechnical Development LeadCommented:
You need to install the Exchange powershell commandlets on your PC
Glen KnightCommented:
From the Exchange 2010 installation media install the Exchange Management Tools.

Once you do this, run the Exchange Management Console.

From the console run:

Connect-ExchangeServer -auto

This will use autodiscover to detect your exchange server, you can then run the Exchange Management commands remotely.
Neil RussellTechnical Development LeadCommented:

"Once you do this, run the Exchange Management Console."

He meant Once you do this, run the Exchange Management SHELL.

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Glen KnightCommented:
Yes you are correct, typo on my behalf, however I think the remaining comment makes that obvious :)
techgeniousAuthor Commented:
What if I do not want to install the EMS?
I do not have the CD's, and was advised to run it strictly from PowerShell.

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Setup -ErrorAction SilentlyContinue
Add-PSSnapin Microsoft.Exchange.Management.Powershell.Support -ErrorAction SilentlyContinue

is this correct?
Glen KnightCommented:
No it's not correct, how can you add those snapins if you don't have them installed?

You will need the Exchange Management tools.
techgeniousAuthor Commented:
So your saying I have to install the Exchange Management tools in order to run the snap-ins.
Is this correct?

I was told differently?

Where are you saying :
Yet again, you have simply posted a link saying "try this article" with absolutely no guidance on what to look for.

I do not see that anywhere?
Glen KnightCommented:
>>Yet again, you have simply posted a link saying "try this article" with absolutely no guidance on what to look for.

This is referring to a post from sumit_arora.

As far as I am aware, to run the Exchange commands you need the exchange tools.  You have already discovered this for yourself.   Who told you differently?
techgeniousAuthor Commented:
Let me clarify I am using the new version of powershell:

I tried this article and got some of the commands but not all of them:

Let me repeat what your saying what is the point of having regular powershell, if I'm installing the Exchange management tools, which provides the EMS.

I want to use exclusively   PowerShell on my desktop and manage exchange from my desktop without EMS exchange tools.

Glen KnightCommented:
I don't know how many different ways you want me to say this?

If you want to use all of the Exchange commands you need to install the Exchange Management Tools.

Regardless of wether you want to use EMS (which is just powershell with all the appropriate snap-ins for Exchange) or PowerShell straight.

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
techgeniousAuthor Commented:
Found part of the solution myself
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.