Solved

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

Posted on 2013-01-27
9
274 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
Comment Utility
did u download exchange management tools and run Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin ?
0
 
LVL 6

Author Comment

by:Flipp
Comment Utility
Nope :(

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

Expert Comment

by:sedgwick
Comment Utility
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
 
LVL 6

Author Comment

by:Flipp
Comment Utility
But how would I install them - where are the source files located?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 52

Expert Comment

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

- Rancy
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Perfect - simple and concise!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
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 use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now