Solved

How to use Exchange commands in PS on non-Exchange Server (i.e. DC)

Posted on 2013-01-27
9
282 Views
Last Modified: 2013-02-27
I would like to use Powershell to setup User Accounts and Mailboxes in simple script, but I think I am missing modules for Powershell to know what to do to add-newmailbox etc.

What do I need to do to have this possible either on the DC or on a Windows 8 client I am using to administer Servers?
0
Comment
Question by:Flipp
9 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 38824037
did u download exchange management tools and run Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin ?
0
 
LVL 6

Author Comment

by:Flipp
ID: 38824056
Nope :(

Does this get installed from same Exchange 2010 install media?
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 38824065
the exchange 2007 management tools can be installed on the following OS:
Windows 7
Windows Server 2003 R2 (32-Bit x86)
Windows Server 2003 Service Pack 2
Windows Server 2008
Windows Vista
Windows XP Service Pack 3

the exchange 2010 management tools can be installed on the following OS:
Windows Vista 64-bit with Service Pack 2
Windows 7 64-bit
Windows Server 2008 64-bit with Service Pack 2
Windows Server 2008 R2

try install exchange 2013 management tools here:
Install the Exchange 2013 Management Tools
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 6

Author Comment

by:Flipp
ID: 38824070
But how would I install them - where are the source files located?
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38824079
You can also simply install the Management Shell\Console from the Exchange Setup files

- Rancy
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 38824169
Follow the link sedgewick posted in http:#a38824065, and select the appropriate Exchange release (2007, 2010, 2013). The site shows you the different ways you can get and install the tools.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 38825947
You can also use Remote PowerShell to manage Exchange 2010..
http://www.mikepfeiffer.net/2010/02/managing-exchange-2010-with-remote-powershell/
0
 
LVL 10

Accepted Solution

by:
172pilotSteve earned 500 total points
ID: 38827788
To install the management tools, all you have to do is run the Exchange setup on the DC (or other non-Exchange server) as if you were going to make it an actual exchange server, but when you're asked which components to install, choose ONLY the management tools, and that will install the EMC and the Powershell console..  

The biggest problem you're likely to have is that you'll need to install some exchange prerequisites that dont seem to make sense, but nothing so wacky that it should worry you to have to install on a DC..

You can also do the remote powershell thing, but personally, I'm still kind of old-school about it too, and want to have the tools local..
0
 
LVL 6

Author Closing Comment

by:Flipp
ID: 38936204
Perfect - simple and concise!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question