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?

thanks
techgeniousAsked:
Who is Participating?
 
Glen KnightConnect With a Mentor Commented:
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.
0
 
Neil RussellTechnical Development LeadCommented:
You need to install the Exchange powershell commandlets on your PC
0
 
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.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Neil RussellTechnical Development LeadCommented:
Correction....

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

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

0
 
Glen KnightCommented:
Yes you are correct, typo on my behalf, however I think the remaining comment makes that obvious :)
0
 
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?
0
 
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.
0
 
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?
0
 
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?
0
 
techgeniousAuthor Commented:
Let me clarify I am using the new version of powershell:
POWERSHELL V3

I tried this article and got some of the commands but not all of them:
http://www.mikepfeiffer.net/2010/09/quick-tip-add-exchange-management-shell-menu-item-in-powershell-ise/


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.



0
 
techgeniousAuthor Commented:
Found part of the solution myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.