Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition

Mike Pfeiffer

Language: English

Pages: 504

ISBN: 1849689423

Format: PDF / Kindle (mobi) / ePub

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition

Mike Pfeiffer

Language: English

Pages: 504

ISBN: 1849689423

Format: PDF / Kindle (mobi) / ePub


Benefit from over 120 recipes that tackle the everyday issues that arise with Microsoft Exchange Server. Using PowerShell you'll learn to add scripts that provide new functions and efficiencies. Only basic knowledge required.

Overview

  • 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

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.

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

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.

Strategic Planning for Project Management Using a Project Management Maturity Model

See A Grown Man Cry/Now Watch Him Die

Design concept of a high-altitude long-endurance unmanned aerial vehicle

The Case Against Academic Boycotts of Israel

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

this in bulk for multiple users. For example, to create an archive mailbox for all users in the DB01 database, you could use the following command: Get-Mailbox -Database DB01 | Enable-Mailbox -Archive -ArchiveDatabase ARCHIVE01 As you can see, we're making use of the pipeline here to perform a bulk operation on all of the mailboxes in the DB01 database. The result of the Get-Mailbox command is piped to the Enable-Mailbox cmdlet. The -Archive switch parameter tells the cmdlet that we know this

cmdlet. The following code shows how to extract recent errors from the Exchange High Availability/Operational log and send the output in the body of an HTML-formatted e-mail message: [string]$report = "" Get-MailboxServer | select -expand Name | Foreach-Object{ $date = (Get-Date).AddDays(-7) $report += Get-WinEvent ` -LogName Microsoft-Exchange-HighAvailability/Operational ` -ComputerName $_ | Where-Object {($_.LevelDisplayName -eq 'Error') -and ` ($_.TimeCreated -gt $date)} | select

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 items from mailboxes Managing public folder mailboxes Reporting on public folder mailboxes Managing user access to public folders Introduction The concept of the mailbox is the core feature of any Exchange solution, and it's likely that almost everything

is set to Closed and the MemberDepartRestriction is set to Open. There's more... When member join or depart restrictions are set to ApprovalRequired, a group owner will receive a message informing them of the request, and they can approve or deny the request using the Accept or Reject buttons in Outlook or OWA. The user who created the distribution group will automatically be the owner, but you can change the owner, if needed, using the -ManagedBy parameter when running the

ConvertTo-Html to generate an external report file that can be viewed outside of the shell. See also The Creating PowerShell functions recipe in Chapter 1, PowerShell Key Concepts Controlling ActiveSync device access With the increase of Smartphones being deployed, and the fact that ActiveSync can now be used across a wide variety of mobile device vendors, Exchange 2010 introduced new functions that allowed you to control which devices are able to connect. Using device access

Download sample

Download