- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- Jonas Andersson Mike Pfeiffer
- 392字
- 2021-07-16 13:26:37
Introduction
If you are like many other administrators, you would probably spend the majority of your time performing recipient-related management tasks when dealing with Exchange. If you work in a large environment with thousands of recipients, to create, update, and delete recipients will probably be a cumbersome and time-consuming process. Of course, the obvious solution to this is to use the Exchange Management Shell. By utilizing the Exchange Management Shell, you can automate all of your recipient management tasks and drastically speed up your work.
The concept of an Exchange recipient is more than just a user with a mailbox. An Exchange recipient is any Active Directory object that has been mail-enabled and can receive messages within the Exchange organization. This can be a distribution group, a contact, a mail-enabled public folder, and so on. These object types include inpidual sets of cmdlets that can be used to completely automate the administration of the Exchange recipients in your environment.
The goal of this chapter is to show you some common solutions that can be used when performing day-to-day recipient management from the shell. Quite often, Exchange recipients are provisioned or updated in bulk through an automated process driven by a PowerShell script. The recipes in this chapter will provide solutions for these types of scripts that you can use right away. You can also use these concepts as a guide to build your own scripts from scratch to automate recipient-related tasks in your environment.
Performing some basic steps
To work with the code samples in this chapter, we'll need to launch the Exchange Management Shell using the following steps:
- Log on to a workstation or server with the Exchange Management tools installed.
- Open the Exchange Management Shell by navigating to Start | All Programs | Exchange Server 2013.
- Click on the Exchange Management Shell shortcut.
If any additional steps are required, they will be listed at the beginning of the recipe in the Getting ready section.
Tip
Remember to start the Exchange Management Shell using Run as administrator to avoid permission problems.
In this chapter, notice that in the examples of cmdlets, I have used the back tick (`) character to break up long commands into multiple lines. The purpose of this is to make it easier to read. The back ticks are not required and should only be used if needed.
- 從零構建知識圖譜:技術、方法與案例
- Java系統分析與架構設計
- 造個小程序:與微信一起干件正經事兒
- PHP+MySQL網站開發技術項目式教程(第2版)
- Python進階編程:編寫更高效、優雅的Python代碼
- RTC程序設計:實時音視頻權威指南
- 用戶體驗增長:數字化·智能化·綠色化
- 零基礎學單片機C語言程序設計
- UML 基礎與 Rose 建模案例(第3版)
- Mastering JavaScript Design Patterns(Second Edition)
- Multithreading in C# 5.0 Cookbook
- 鴻蒙OS應用編程實戰
- 智能手機故障檢測與維修從入門到精通
- Mastering Adobe Captivate 7
- WCF技術剖析(卷1)