Book Image

Microsoft Exchange Server PowerShell Essentials

By : Biswanath Banerjee
Book Image

Microsoft Exchange Server PowerShell Essentials

By: Biswanath Banerjee

Overview of this book

PowerShell has become one of the most important skills in an Exchange administrator's armory. PowerShell has proved its mettle so widely that, if you're not already starting to learn PowerShell, then you're falling behind the industry. It isn't difficult to learn PowerShell at all. In fact, if you've ever run commands from a CMD prompt, then you'll be able to start using PowerShell straightaway. This book will walk you through the essentials of PowerShell in Microsoft Exchange Server and make sure you understand its nitty gritty effectively. You will first walk through the core concepts of PowerShell and their applications. This book discusses ways to automate tasks and activities that are performed by Exchange administrators and that otherwise take a lot of manual effort. Microsoft Exchange PowerShell Essentials will provide all the required details for Active Directory, System, and Exchange administrators to help them understand Windows PowerShell and build the required scripts to manage the Exchange Infrastructure.
Table of Contents (17 chapters)
Microsoft Exchange Server PowerShell Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 9. Exploring EWS Managed API

Starting with Exchange 2007, Exchange Web Services (EWS) provides an interface for developers to create custom-client applications that interact with the data stored in an On-Premise or Exchange online mailbox. It allows access to e-mail messages, contacts, calendar, tasks, and public folders that are content programmatically. EWS works by exchanging Simple Object Access Protocol (SOAP) XML messages for information interchange using HTTP or HTTPS protocols to the Exchange Client Access Servers. In this chapter, we will review the Exchange Web Services application programming interface (API) and its usage in managing an Exchange On-Premise and online organization.

The following topics will be covered in this chapter:

  • Introducing Exchange Web Services

  • Understanding EWS managed API

  • Writing basic EWS managed API code

  • Creating custom folders in mailboxes

  • Writing a basic script