M02 E2010 Intro Admin ManagementTools
M02 E2010 Intro Admin ManagementTools
Supporting Administration
Management Tools
Jonathan Runyon
Exchange 2010 BRE Content
Microsoft
1 1/1/2009 Microsoft Confidential - For Internal Use Only
1
Module Overview
Before starting this module you should:
Be familiar with management tools used in previous
versions of Exchange.
Terminology
Term Definition
Cross Forest Activities that cross from one organization to another, for management,
messaging or sharing of resources.
DYI Do-It-Yourself or self-management using client management tools.
Fan-In Concept where multiple client machines running management tool
applications connect remotely to an Exchange server that acts as a
provider of management tool services.
Forest An Active Directory forest acts as a boundary for an On-Premises
Exchange organization. In this module organization and forest may be
used interchangeably.
Help Desk Support staff members that service requests for assistance with issues
related to messaging. Help desk staff are generally responsible for
recipient management tasks.
On-Premises An Exchange organization that is deployed and maintained “in house”.
Organization An Exchange organization is a collection of Exchange servers that provide
messaging services, bound by an identifying namespace.
RBAC Role Based Access Control – the new model used by Exchange 2010 to
limit access to a management task based on a role definition that
requires that task.
4
Scenarios
Centralized Management
Recipient Management
Do-It-Yourself Management
5
Challenges
Access Control
Relies on granular permissions granted directly or indirectly on
recipient and configuration objects
Access to Management Tools
No real way to control who can install tools and attempt actions
Auditing
Limited methodology for auditing management actions
Self-Management
Burden of maintaining incidental information rests on
administrative resources
6
Exchange 14 Management
New Features
Role Based Access Control
Remote PowerShell
Auditing and Logging
Self-Management using Exchange Control Panel
10
Remote PowerShell
Exchange 2007 management tools rely on Local
PowerShell
Commands are executed in a local PowerShell session on the same
machine where the tools are installed
Exchange 2010 management tools rely on Remote
PowerShell
Made possible by Windows PowerShell v2.0 and Windows Remote
Management (WinRM) v2.0
WinRM is the MS implementation of Web Services for Management
(WSMan) protocol
WSMan is SOAP based and firewall compatible protocol based on
HTTP and HTTPS
11
Fan-In Configuration
Clients running Exchange tools connect to Exchange
servers using remote PowerShell
True even when tool is opened on Exchange 2010 server
Enforces centralized connection point(s)
Remote PowerShell uses IIS on Exchange server to host
WSMan, load the PowerShell plug-in, and start remote
PowerShell sessions
All PowerShell sessions run in the same host process in IIS
PowerShell and WinRM must be installed on both client
and server to support remote PowerShell
Once session is initiated, RBAC enforces access control
Client is only allowed to run commands and access objects as
determined by role assignments
14
Implementation
PowerShell virtual directory and Application Pool
Remote PowerShell Stack
Authentication Methods
Kerberos/Integrated Authentication
Certificate Authentication
Initial Server-Side Runspace
Enabling a User for Remote PowerShell
16
Non-CAS Implementation
IIS
WSMan IIS Module
Unmanaged RBAC
Authorization module
PowerShell Fan-In Module
Managed RBAC
Authorization module
AD Driver
CAS Implementation
21
Kerberos/Integrated Authentication
Authentication mechanism for connections which originate
within the
On-Premise
organization
Requires a backing
Active Directory
account
Client machines
must be domain
joined
22
Certificate Authentication
Authentication mechanism for connections that originate
from clients
outside of the
domain boundary
IIS provides support
for certificate
authentication used
by WSMan
Certificate must be
trusted by the client
23
EMS Basics
Based on the PowerShell console host application
Relies on Remote PowerShell to connect and establish a
session
Two versions:
EMS Shortcut
Manual EMS
26
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
-noexit -command ". 'C:\Program Files\Microsoft\Exchange
Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer
-auto"
28
Discover-ExchangeServer Function
Available from the EMS command line
Returns the FQDN of a suitable Exchange server to which a
new session could be established
Uses the same discovery code as Connect-ExchangeServer
38
Cross-Forest Functionality
Both Connect-ExchangeServer and Discover-
ExchangeServer make it possible to establish a connection
to an Exchange 2010 server in a different forest
User must specify:
The forest FQDN and
Provide credentials for a user with appropriate RBAC roles
assignments in the remote forest
Must be loaded as a result of starting EMS from the
shortcut
38
EMC Layout
Console Tree Pane
Action Pane
Result Pane
Work Pane
44
Help in EMC
Help is available in several places in EMC
Contextual Help in Action menu
Help in context menu of item
Help information comes from on-line sources
Ensures updates are timely
45
ECP Basics
Design
Role Evaluation
Implementation
ECP Management
ECP Design
ECP is an AJAX application designed to provide self-service
management of Exchange features to end-users (DIY)
ECP builds on top of business logic provided by Exchange
Management Shell cmdlets and uses ASP.Net and
Windows Communication Foundation (WCF) web services
to communicate between client and server.
The architecture of AJAX features in ASP.NET consists of
two pieces: client-script libraries and server components.
ECP Design continued
From a logical point of view, ECP is divided into three
parts.
Common Infrastructure
Parts of ECP are shared with other applications, like OWA
Includes RBAC, PowerShell, tracing, performance counters, event log,
etc.
ECP Application Infrastructure
ECP provides an infrastructure of common controls, services and
resources necessary to build Exchange features.
Feature Code
Pages and controls that implement one particular feature of Exchange.
This is the part of ECP that grows over time, as more and more
features are added.
64
Role Evaluation
Thanks to RBAC, a user only has access to tasks and
objects allowed to user's roles
In ECP, this manifests in access to self, other users, or
organization management.
Browser Compatibility
The ECP component runs on the Client Access server role
under the /ECP virtual directory thus making the interface
entirely web based.
The browser requirements are the same as they are for
Premium Outlook Web App for Exchange 2010:
Internet Explorer 7 or greater on Windows XP or higher
Firefox 3.0 or greater on Windows XP or higher
Safari 3.0 or greater on Macintosh-OS Leopard
74
Implementation
ECP manifests in two forms
Outlook Web App options page
Administration page
74
Administration page
With appropriate role assignment, My Organization is
available from Select what to manage
Mailboxes – make changes to a user’s mailbox settings.
First Name, Last Name, Display Name, Address Info, Organization info
(Title, Dept, Company, Manger), Email Options (additional email
addresses), and MailTips.
Groups – Manage all of the distribution lists in the organization, see
the owner, the memberships, whether memberships need approval,
the delivery management settings, message approval settings, E-mail
options, and the mail tips.
External Contacts – create external recipient contacts that would be
included in address lists for the entire organization
Administrator Roles – Role Groups are listed where memberships can
be changed by adding or removing members.
User Roles – allows the administrator to assign specific roles to a
policy.
Reporting - allows administrators to retrieve delivery information.
95
ECP Management
Similar to OWA management
Handled by XCSI group
108
Exchange Help
Watch This: Exchange Help from EMC and EMS
Online Help
Online Help Features in EMC
Online Help Feature in EMS
121
Audit Logs
Stored as e-mail messages in the audit logging mailbox
Sample message and fields
Field Description
Message Subject The account of the user who ran the cmdlet and the cmdlet that was run.
Cmdlet Name The cmdlet that was run by the caller.
Object Modified The object that was modified by the cmdlet.
Parameter The parameters that were specified when the cmdlet was run, and the values that were
provided. If more than one parameter was specified, multiple Parameter fields are shown.
Caller The user account of the user who ran the cmdlet.
Succeeded Specifies whether the cmdlet ran successfully. The value is either True or False.
Error Indicates the error message that was generated if the cmdlet failed to complete successfully.
Run Date Shows the date and time when the cmdlet was run. The date and time are stored in universal
time code (UTC) format.
121
Organizational Health
Organizational Health in EMC
Organizational Health in EMS
Watch This: Managing Organizational Health
148
Certificate Tasks
EMC now includes certificate management tasks
New Exchange Certificate
Import Exchange Certificate
Assign Services to Certificate
Renew Exchange Certificate
Remove Certificate
Managing Exchange Certificates
205
Recipient Scope
What is Recipient Scope
Setting Recipient Scope
205
[PS] C:\>Get-ADServerSettings
ConfigurationDo PreferredDomain PreferredGloba RecipientViewR ViewEntireFore
mainController Controllers lCatalog oot st
--------------- --------------- -------------- -------------- --------------
{} contoso.com False
Set-AdServerSettings
What is Toolbox?
The tools available in the Toolbox work center are divided
into two categories:
Dedicated Microsoft Management Console (MMC) 3.0 tools Some
tools, such as Queue Viewer, are self-hosted in an MMC console.
The Exchange Management Console (EMC) does not have to be
running to use the MMC tools.
Independent tools Independent tools, such as the Best Practices
Analyzer, are not integrated with the EMC and function as separate
executable files when run from the Toolbox. These tools have their
own Help file content.
The tools in Toolbox are segmented into three groups:
Configuration Management Tools
Performance Tools
Security Tools
211
Performance Tools
Mail Flow Troubleshooter
Message Tracking
Queue Viewer
Routing Log Viewer
213
Security Tools
Performance Monitor
Performance Troubleshooter
214
Importing Files
Use the parameter –FileData:
Exporting Files
Use the parameter –FileData:
Agent Basics
Agents modify, replace, or extend functionality of
Exchange Management Shell cmdlets. An agent can:
provide a value for a required parameter that isn't provided on a
command
override a value provided by a user
perform other actions outside of the cmdlet workflow while a
cmdlet runs
Example:
The New-Mailbox cmdlet accepts the Database parameter
If you don't specify a value, the New-Mailbox cmdlet calls the
Mailbox Resources Management agent when the cmdlet runs
The agent automatically determines a suitable mailbox database
on which to create the new mailbox and inserts that value into the
Database parameter value
221
Built-in Agents
Agent name Priority Enabled by default
Query Base DN Agent 0 True
Rus Agent 1 True
Mailbox Resources Management Agent 2 True
Provisioning Policy Agent 3 True
OAB Resources Management Agent 4 True
Scripting Agent 5 False
Admin Audit Log Agent 255 True
Agent Priority
The priority of an agent determines the order in which the agent is called
while a cmdlet runs.
An agent that has a higher priority, closer to 0, is called first.
The priority of an agent becomes important when two or more agents
attempt to set the value of the same property.
The highest priority agent succeeds, and all lower priority agents are
ignored.
223
Agent Management
Examining Agent Configuration
Get-CmdletExtensionAgent
Changing Agent Priority
Set-CmdletExtensionAgent
-Priority parameter
Enabling an Agent
Enable-CmdletExtensionAgent
Disabling an Agent
Disable-CmdletExtensionAgent
227
Management Tasks
Throttling
There are two
five services
services that
that generate
generate Management
throttling related
Taskevent
eventlogs:
logs:
MSExchangeThrottling
MSExchange Configuration Cmdlet - Control Panel
MSExchange Configuration Cmdlet - Management Console
MSExchangeThrottlingClient
For MSExchange
each service,Configuration
there is the Cmdlet
General- Management Shellgenerates
category, which
events related to
MSExchange throttling. Cmdlet - Management Web Service
Configuration
MSExchange Configuration Cmdlet - Remote Management
For each service, there are two categories:
General- Events related to the operation of the management tasks
RBAC - Events specific to RBAC processing
248
Appendix
Client Throttling Performance Counters
Management Task Events
Exchange Control Panel Events
Questions
This training package content is proprietary and confidential, and is intended only for users described in the training materials. Content and
information designated for limited distribution is provided to you under a Non-Disclosure Agreement and cannot be distributed. Copying or
disclosing all or any portion of the content and/or information included in such packages is strictly prohibited.
The contents of this package are for informational and training purposes only and are provided "as is" without warranty of any kind, whether
express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-
infringement.
Training package content, including URLs and other Internet Web site references, is subject to change without notice. Because Microsoft
must respond to changing market conditions, the content should not be interpreted to be a commitment on the part of Microsoft, and
Microsoft cannot guarantee the accuracy of any information presented after the date of publication. Unless otherwise noted, the companies,
organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association
with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this
document. Except as expressly provided in written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this
document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic,
mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
For more information, see “Use of Microsoft Copyrighted Content “at http://www.microsoft.com/about/legal/permissions/.
Microsoft®, Internet Explorer, and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries. Microsoft products mentioned herein may be either registered trademarks or trademarks of Microsoft Corporation in
the United States and/or other countries. All other trademarks are property of their respective owners.