Sample Chapters from Microsoft Exchange

Sample Chapters from Microsoft Exchange

Using the Command-Line Administration Tools

The graphical tools provide just about everything you need to work with Exchange

Server . Still, there are many times when you might want to work from the command line, especially if you want to automate installation, administration, or maintenance with scripts . To help with all your command-line needs, Exchange Server includes the Exchange Management Shell .

The Exchange Management Shell is an extension shell for Windows PowerShell that includes a wide array of built-in commands for working with Exchange Server .

Windows PowerShell commands are referred to as cmdlets (pronounced commandlets) to differentiate these commands from less powerful commands built into the command prompt and from more full-featured utility programs that can be invoked at the command prompt .

Note

For ease of reading and reference, I’ll usually refer to command prompt

commands, command shell cmdlets, and command-line invoked utilities simply as commands.

The Exchange Management Shell, shown in Figure 1-2, is accessible by selecting

Start, choosing All Programs, choosing Microsoft Exchange Server 2010, and then choosing Exchange Management Shell .

FIGURE 1-2

The Exchange Management Shell .

The basics of working with the Exchange Management Shell are straightforward: n

Type get-command to get a full list of all available cmdlets on the server .

n

Type get-excommand to get a full list of all Exchange-specific cmdlets

available .

22 ChAPTEr 1

Exchange Server 2010 Administration Overview

n

Type help cmdletName to get help information, where cmdletName is the name of the command you are looking up .

You’ll find a comprehensive discussion of the Exchange Management Shell and

Windows PowerShell in Chapter 4, “Using the Exchange Management Shell,” as well as examples of using cmdlets for Exchange Server management throughout the book .

Like Exchange Server, Forefront Protection for Exchange Server has a management console and a management shell . You use the Forefront Server Security

Administration console to manage Forefront Protection using a graphical interface .

You use the Forefront Management Shell to manage Forefront Protection from the command line . This shell is accessible by selecting Start, choosing All Programs, choosing Microsoft Forefront Server Security, and then choosing Forefront

Management Shell .

Forefront Management Shell loads extensions that allow you to manage the

configuration of Forefront Protection for Exchange Server . The basics of working with the Forefront Management Shell are straightforward: n

Type get-command to get a full list of all available cmdlets on the server .

n

Type get-command *fse* to get a full list of all Forefront Protection–specific cmdlets available .

n

Type help cmdletName to get help information, where cmdletName is the name of the command you are looking up .

Because Forefront Management Shell does not load the Exchange Server cmdlets, you cannot access the Exchange-specific cmdlets from this shell by default . Because the Exchange Management Shell does not load the Forefront Protection–specific cmdlets either, you cannot access the Forefront Protection–specific cmdlets from the

Exchange Management Shell by default .

Exchange Server 2010 Administration Overview

ChAPTEr 1 23

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement

Table of contents