官术网_书友最值得收藏!

Introduction

So, your organization has decided to move to Exchange Server 2010 to take advantage of the many exciting new features such as integrated e-mail archiving, discovery capabilities, and high availability functionality. Like it or not, you've realized that PowerShell is now an integral part of Exchange Server management and you need to learn the basics and have a point of reference for building your own scripts. That's what this book is all about. In this chapter, we'll cover some core PowerShell concepts that will provide you with a foundation of knowledge for using the remaining examples in this book. If you are already familiar with PowerShell, you may want to use this chapter as a review or as a reference for later after you've started writing scripts.

If you're completely new to PowerShell, the concept may be familiar if you've worked with UNIX command shells. Like UNIX-based shells, PowerShell allows you to string multiple commands together on one line using a technique called pipelining. This means that the output of one command becomes the input for another. But, unlike UNIX shells that pass text output from one command to another, PowerShell uses an object model based on the .NET Framework, and objects are passed between commands in a pipeline, as opposed to plain text. From an Exchange perspective, working with objects gives us the ability to access very detailed information about servers, mailboxes, databases, and more. For example, every mailbox you manage within the shell is an object with multiple properties, such as an e-mail address, database location, or send and receive limits. The ability to access this type of information through simple commands means that we can build powerful scripts that generate reports, make configuration changes, and perform maintenance tasks with ease.

Performing some basic steps

To work with the code samples in this chapter, follow these steps to launch the Exchange Management Shell:

  1. Log onto a workstation or server with the Exchange Management Tools installed.
  2. Open the Exchange Management Shell by clicking on Start | All Programs | Exchange Server 2010.
  3. Click on the Exchange Management Shell shortcut.
主站蜘蛛池模板: 中卫市| 吐鲁番市| 沂南县| 姚安县| 西充县| 茂名市| 抚州市| 葫芦岛市| 盘山县| 中江县| 兴城市| 海原县| 太谷县| 丹阳市| 富川| 井冈山市| 绿春县| 尤溪县| 邹平县| 临夏县| 玉屏| 阿城市| 年辖:市辖区| 富阳市| 庐江县| 凤山县| 兴文县| 陆丰市| 新巴尔虎左旗| 合江县| 商丘市| 盐源县| 海南省| 开原市| 临西县| 博客| 保定市| 沙田区| 玛沁县| 义马市| 甘南县|