On GameSpot: Wii Fit tells 10-year-old she's fat

Exchange 2007: Get used to the command line

Tags: Microsoft Exchange Server 2007, Microsoft Windows PowerShell, GUI, Microsoft Windows, E-mail Servers, Operating Systems, Software, Enterprise Software, Scott Lowe MCSE, shell, E-mail Administration Tips Newsletter

  • Save
  • Print
  • Digg This
  • 0

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.

  • Save
  • Print
  • Digg This
  • 0

Print/View all Posts Comments on this article

Powershell could have addedBob.Roy  | 01/08/07
Powershell learning curvetechrepublic@...  | 01/08/07
Totally agree, but amBob.Roy  | 01/08/07
Gee, command line power, what a novel(l) idea.Tachyon  | 01/17/07
Is the Blue Pill becomming Red?fer@...  | 05/16/07
RE: Exchange 2007: Get used to the command linestorm3d@...  | 03/11/08

What do you think?

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
advertisement
Click Here