Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition


Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition
eBook: $35.99
Formats: PDF, PacktLib, ePub and Mobi formats
$30.59
save 15%!
Print + free eBook + free PacktLib access to the book: $95.98    Print cover: $59.99
$59.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Newly updated and improved for Exchange Server 2013 and PowerShell 3
  • Learn how to write scripts and functions, schedule scripts to run automatically, and generate complex reports with PowerShell
  • Manage and automate every element of Exchange Server 2013 with PowerShell such as mailboxes, distribution groups, and address lists

Book Details

Language : English
Paperback : 504 pages [ 235mm x 191mm ]
Release Date : May 2013
ISBN : 1849689423
ISBN 13 : 9781849689427
Author(s) : Jonas Andersson, Mike Pfeiffer
Topics and Technologies : All Books, Enterprise Products and Platforms, Microsoft Servers, Cookbooks, Enterprise, Microsoft

Table of Contents

Preface
Chapter 1: PowerShell Key Concepts
Chapter 2: Exchange Management Shell Common Tasks
Chapter 3: Managing Recipients
Chapter 4: Managing Mailboxes
Chapter 5: Distribution Groups and Address Lists
Chapter 6: Mailbox Database Management
Chapter 7: Managing Client Access
Chapter 8: Managing Transport Service
Chapter 9: High Availability
Chapter 10: Exchange Security
Chapter 11: Compliance and Audit Logging
Chapter 12: Server Monitoring and Troubleshooting
Chapter 13: Scripting with the Exchange Web Services Managed API
Appendix A: Common Shell Information
Appendix B: Query Syntaxes
Index
  • Chapter 1: PowerShell Key Concepts
    • Introduction
    • Using the help system
    • Understanding command syntax and parameters
    • Understanding the pipeline
    • Working with variables and objects
    • Formatting output
    • Working with arrays and hash tables
    • Looping through items
    • Creating and running scripts
    • Using flow control statements
    • Creating custom objects
    • Creating PowerShell functions
    • Setting up a profile
    • Chapter 2: Exchange Management Shell Common Tasks
      • Introduction
      • Manually configuring remote PowerShell connections
      • Using explicit credentials with PowerShell cmdlets
      • Transferring files through remote shell connections
      • Dealing with concurrent pipelines in remote PowerShell
      • Managing domains or an entire forest using recipient scope
      • Exporting reports to text and CSV files
      • Sending SMTP e-mails through PowerShell
      • Scheduling scripts to run at a later time
      • Logging shell sessions to a transcript
      • Automating tasks with the scripting agent
      • Scripting an Exchange server installation
      • Chapter 3: Managing Recipients
        • Introduction
        • Adding, modifying, and removing mailboxes
        • Working with contacts
        • Managing distribution groups
        • Managing resource mailboxes
        • Creating recipients in bulk using a CSV file
        • Working with recipient filters
        • Adding and removing recipient e-mail addresses
        • Hiding recipients from address lists
        • Configuring recipient moderation
        • Configuring message delivery restrictions
        • Managing automatic replies and out of office settings for a user
        • Adding, modifying, and removing server-side inbox rules
        • Managing mailbox folder permissions
        • Importing user photos into Active Directory
        • Chapter 4: Managing Mailboxes
          • Introduction
          • Reporting on the mailbox size
          • Working with move requests and performing mailbox moves
          • Mailbox move e-mail notification
          • Importing and exporting mailboxes
          • Deleting messages from mailboxes
          • Managing disconnected mailboxes
          • Generating mailbox folder reports
          • Reporting on mailbox creation time
          • Checking mailbox logon statistics
          • Setting storage quotas for mailboxes
          • Finding inactive mailboxes
          • Detecting and fixing corrupt mailboxes
          • Restoring deleted items from mailboxes
          • Managing public folder mailboxes
          • Reporting on public folder statistics
          • Managing user access to public folders
          • Chapter 5: Distribution Groups and Address Lists
            • Introduction
            • Reporting on distribution group membership
            • Adding members to a distribution group from an external file
            • Previewing dynamic distribution group membership
            • Excluding hidden recipients from a dynamic distribution group
            • Converting and upgrading distribution groups
            • Allowing managers to modify group membership
            • Removing disabled user accounts from distribution groups
            • Working with distribution group naming policies
            • Working with distribution group membership approval
            • Creating address lists
            • Exporting address list membership to a CSV file
            • Configuring hierarchical address books
            • Chapter 6: Mailbox Database Management
              • Introduction
              • Managing the mailbox databases
              • Moving databases and logs to another location
              • Configuring the mailbox database limits
              • Reporting on mailbox database size
              • Finding the total number of mailboxes in a database
              • Determining the average mailbox size per database
              • Reporting on database backup status
              • Restoring data from a recovery database
              • Chapter 7: Managing Client Access
                • Introduction
                • Managing ActiveSync, OWA, POP3, and IMAP4 mailbox settings
                • Setting internal and external CAS URLs
                • Managing Outlook Anywhere settings
                • Blocking Outlook clients from connecting to Exchange
                • Reporting on active OWA and RPC connections
                • Controlling ActiveSync device access
                • Reporting on ActiveSync devices
                • Chapter 8: Managing Transport Service
                  • Introduction
                  • Managing connectors
                  • Configuring transport limits
                  • Allowing application servers to relay mail
                  • Managing transport rules and settings
                  • Creating a basic disclaimer
                  • Working with custom DSN messages
                  • Managing connectivity and protocol logs
                  • Searching message tracking logs
                  • Working with messages in transport queues
                  • Searching anti-spam agent logs
                  • Implementing a header firewall
                  • Chapter 9: High Availability
                    • Introduction
                    • Building a Windows NLB cluster for CAS servers
                    • Creating a Database Availability Group
                    • Adding mailbox servers to a Database Availability Group
                    • Configuring Database Availability Group network settings
                    • Adding mailbox copies to a Database Availability Group
                    • Activating mailbox database copies
                    • Working with lagged database copies
                    • Reseeding a database copy
                    • Using the automatic reseed feature
                    • Performing maintenance on Database Availability Group members
                    • Reporting on database status, redundancy, and replication
                    • Chapter 10: Exchange Security
                      • Introduction
                      • Granting users full access permissions to mailboxes
                      • Finding users with full access to mailboxes
                      • Sending e-mail messages as another user or group
                      • Working with Role Based Access Control (RBAC)
                      • Creating a custom RBAC role for administrators
                      • Creating a custom RBAC role for end users
                      • Troubleshooting Role Based Access Control
                      • Generating a certificate request
                      • Installing certificates and enabling services
                      • Importing certificates on multiple exchange servers
                      • Chapter 11: Compliance and Audit Logging
                        • Introduction
                        • Managing archive mailboxes
                        • Configuring archive mailbox quotas
                        • Creating retention tags and policies
                        • Applying retention policies to mailboxes
                        • Placing mailboxes on retention hold
                        • Placing mailboxes on in-place hold
                        • Performing a discovery search
                        • Enabling mailbox audit logging
                        • Generating mailbox audit log reports
                        • Configuring Administrator Audit Logging
                        • Searching the administrator audit logs
                        • Chapter 12: Server Monitoring and Troubleshooting
                          • Introduction
                          • Managing and monitoring services
                          • Verifying server connectivity
                          • Working with event logs
                          • Reporting on disk usage
                          • Checking CPU utilization
                          • Monitoring memory utilization
                          • Reporting on Exchange Server uptime
                          • Troubleshooting the Mailbox role
                          • Troubleshooting the Client Access Server role
                          • Troubleshooting the Transport service
                          • Verifying certificate health
                          • Chapter 13: Scripting with the Exchange Web Services Managed API
                            • Introduction
                            • Getting connected to EWS
                            • Sending e-mail messages with EWS
                            • Working with impersonation
                            • Searching mailboxes
                            • Retrieving the headers of an e-mail message
                            • Deleting e-mail items from a mailbox
                            • Creating calendar items
                            • Exporting attachments from a mailbox
                            • Appendix A: Common Shell Information
                              • Exchange Management Shell reference
                              • Properties that can be used with the Filter parameter
                              • Properties that can be used with the RecipientFilter parameter
                              • Appendix B: Query Syntaxes
                                • Advanced Query Syntax
                                • Using the word phrase search
                                • Using a date range search
                                • Using the message type search
                                • Using the logical connector search

                                Jonas Andersson

                                Jonas Andersson is a devoted person who is constantly developing himself and his skills. He started in the IT business in 2004 and worked at first in a support center where he got his basic knowledge. In 2007 he started his career as a Microsoft infrastructure consultant and from 2008 onwards his focus has been on Microsoft Exchange. Even though his focus is on Microsoft Exchange, his interests include migrations, backup, storage, and archiving. At the start of 2010, he was employed at a large outsourcing company as a messaging specialist, specializing in Microsoft Exchange. His work includes designing, implementing, and developing messaging solutions for enterprise customers. His unique knowledge makes him a key figure in large and complex migration projects where he works with design and implementation. Examples of these projects include migrations from the IBM Domino mail platform to Microsoft Exchange 2007/2010 and Office 365, using Quest Software with full coexistence between the systems for mail flow, directory synchronization, and free busy lookups. Apart from his daily job, he was active on TechNet forums, he also writes articles at his blog (http://www.testlabs.se/blog), and Twitter and other social media. As a reward for the work in the community he was been awarded the Microsoft Community Contributor Award both 2011 and 2012.

                                Mike Pfeiffer

                                Mike Pfeiffer has been in the IT field for 15 years, and has been working on Exchange for the majority of that time. He is a Microsoft Certified Master and a former Microsoft Exchange MVP. These days he works at Microsoft as a Premier Field Engineer where he helps customers deploy and maintain Microsoft Exchange and Lync Server solutions. You can find his writings online at mikepfeiffer.net, where he occasionally blogs about Exchange, Lync, and PowerShell-related topics.
                                Sorry, we don't have any reviews for this title yet.

                                Code Downloads

                                Download the code and support files for this book.


                                Submit Errata

                                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                                Sample chapters

                                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                                Frequently bought together

                                Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition +    Programming Microsoft Dynamics® NAV 2013 =
                                50% Off
                                the second eBook
                                Price for both: ₨461.60

                                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                                What you will learn from this book

                                • New features and capabilities of PowerShell 3 and Exchange Server 2013
                                • Get to grips with the core PowerShell concepts required to master the Exchange Management Shell such as pipelining, working with objects, formatting output, and writing scripts
                                • Use simple PowerShell scripts and commands for powerful effect
                                • Monitor server resources including CPU, memory, disk, event logs, and more using PowerShell
                                • Generate detailed reports, send the output of commands in e-mail messages, and schedule scripts to run automatically
                                • Import, export, move mailboxes, and delete messages from mailboxes using the command line
                                • Configure transport server settings such as mail relay, tracking logs, transport rules, delivery reports, and more
                                • Manage mailbox and public folder databases

                                In Detail

                                Microsoft Exchange Server 2013 is a complex messaging system. Windows PowerShell 3 can be used in conjunction with Exchange Server 2013 to automate and manage routine and complex tasks to save time, money, and eliminate errors.

                                Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition offers more than 120 recipes and solutions to everyday problems and tasks encountered in the management and administration of Exchange Server. If you want to write scripts that help you create mailboxes, monitor server resources, and generate detailed reports, then this Cookbook is for you.

                                This practical guide to Powershell and Exchange Server 2013 will help you automate and manage time-consuming and reoccurring tasks quickly and efficiently. Starting by going through key PowerShell concepts and the Exchange Management Shell, this book will get you automating tasks that used to take hours in no time.

                                With practical recipes on the management of recipients and mailboxes as well as distribution groups and address lists, this book will save you countless hours on repetitive tasks. Diving deeper, you will then manage your mailbox database, client access, and your transport servers with simple but effective scripts.

                                This book finishes with advanced recipes on Exchange Server problems such as server monitoring as well as maintaining high availability and security. If you want to control every aspect of Exchange Server 2013 and learn how to save time with PowerShell, then this cookbook is for you.

                                Approach

                                This book is written in a Cookbook-style format and provides practical, immediately usable task-based recipes that show you how to manage and maintain your Microsoft Exchange Server 2013 environment with Windows PowerShell 3. Each chapter of the book is written so that it can be used as a desktop reference, or it can be read from beginning to end, allowing you to build a solid foundation for building scripts in your Exchange environment.

                                Who this book is for

                                This Cookbook is for messaging professionals who want to learn how to build real-world scripts with Windows PowerShell 3 and the Exchange Management Shell. If you are a network or systems administrator responsible for managing and maintaining Exchange Server 2013 you will find this highly useful. Only basic knowledge of Exchange Server and PowerShell are required to make the most of this book.

                                Code Download and Errata
                                Packt Anytime, Anywhere
                                Register Books
                                Print Upgrades
                                eBook Downloads
                                Video Support
                                Contact Us
                                Awards Voting Nominations Previous Winners
                                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                                Resources
                                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software