Exchange 2007: Get used to the command line
Takeaway: With the Exchange Management Shell, there are some things that you can do only from the new command line interface.
Like it or not, Microsoft has put a whole ton of effort into making Exchange 2007 completely manageable via a Windows PowerShell-based management interface. In fact, there are some things that you can do only from the new command line interface--not even the GUI can handle these tasks. The Exchange Management Shell, as it's called, is based on Windows PowerShell, which started with the code name Monad. The shell includes very good help features, but, with the complexity of Exchange itself, can get pretty complicated to use. I’m not going to get into providing shell examples in this tip (I will in future tips, though), but will share with you some things that may make using the shell easier.
To get started in the shell, go to Start > All Programs > Microsoft Exchange Server 2007 > Exchange Management Shell. This opens a window that looks a lot like a normal command window but, instead of using the old cmd.exe in the background, this is the new, rather plain-looking PowerShell.
To get a list of Exchange specific commands in the shell, type get-excommand. For a quick guide to getting started with the shell, use the command quickstart instead.
As I mentioned, the command shell can be fairly complex, but Microsoft tries to ease this complexity by, for some functions in the GUI command tool (Exchange Management Console), providing you with the complete command line syntax that would have performed the same job. For example, when you use the new mailbox wizard in the GUI, the summary page of the process outputs the command shell syntax. This can be incredibly useful if you want to ultimately be able to script Exchange events.
The new command shell is a very welcome addition to the Exchange tools family and makes Exchange management very flexible while providing administrators with a way to automate important functions.
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- Increasing Data Center Efficiency by Using Improved High Density Power Distribution American Power Conversion (APC)
- Data Protection and Disaster Recovery with iSCSI and VMware Dell EqualLogic
- Demo: Need Disk Space? IBM DB2 9 Compression Demo IBM
- Live Webcast: Top Ten Challenges with On-Premise Email Management Dell MessageOne
- Watts and Volt-Amps: Powerful Confusion American Power Conversion (APC)
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET

