Introduction | p. xvi |
An Overview of Windows PowerShell 2.0 for Exchange 2010 | |
New Features and the Exchange Management Shell | p. 1 |
What's New in PowerShell 2.0 | p. 1 |
What Is a Cmdlet? | p. 4 |
The Exchange Management Shell | p. 6 |
Basic Techniques | p. 11 |
Using the GUI | p. 11 |
Understanding the Basic Syntax of a cmdlet | p. 12 |
Basic Syntax: Some Common Cmdlets Using the Get Verb | p. 16 |
Basic Syntax: Some Common Parameters | p. 27 |
Finding the Right Cmdlet | p. 31 |
Finding Help for the Right Cmdlet | p. 32 |
What's Included in Each Version of Help | p. 33 |
Using the Tab Completion Feature | p. 34 |
Achieving a Comfort Level with PowerShell | |
Advanced Techniques | p. 37 |
Working with Pipelines | p. 37 |
Running Programs | p. 41 |
Creating and Running Scripts | p. 42 |
Registry Modifications with PowerShell | p. 48 |
Understanding Quotes | p. 48 |
Customizing the PowerShell Environment | p. 51 |
Creating and Using PowerShell Profiles | p. 51 |
Using Built-in Aliases | p. 56 |
Working with User-Defined Aliases | p. 57 |
Filtering Output | p. 59 |
Formatting Output | p. 60 |
PowerShell and the Exchange 2010 Deployment Process | |
Standard Deployments | p. 65 |
Deploying Prerequisites for All Versions of Exchange Server 2010 on Windows Server 2008 Operating Systems | p. 65 |
Deploying Prerequisites for Exchange Server 2010 RTM (Release-to-Manufacturing) on Windows Server 2008 SP2 | p. 66 |
Deploying Prerequisites for Exchange Server 2010 RTM on Windows Server 2008 SP2 | p. 67 |
Deploying Prerequisites for Exchange Server 2010 RTM on Windows Server 2008 R2 | p. 69 |
Deploying Prerequisites for Exchange Server 2010 SP1 on Windows Server 2008 R2 | p. 72 |
Setup Options for Exchange Server 2010 RTM | p. 74 |
Upgrading from Exchange Server 2010 RTM to SP1 | p. 78 |
Using the Exchange 2010 Deployment Assistant | p. 80 |
Disaster Recovery Deployments | p. 83 |
Recovering from a Single Role Failure | p. 83 |
Recovering from a Multiple-Role Failure on the Same Server | p. 85 |
Recovering from a Database Availability Group (DAG) Member Server Failure | p. 89 |
PowerShell and Recipient Objects | |
Working with Recipient Objects | p. 93 |
Identifying the Exchange 2010 Recipient Types | p. 93 |
Creating and Managing a User Mailbox | p. 101 |
Creating and Managing a Mail-Enabled User | p. 104 |
Creating and Managing a Mail-Enabled Contact | p. 106 |
Creating and Managing Resource Mailboxes | p. 108 |
Working with Distribution Groups | p. 109 |
Converting Recipient Types | p. 112 |
Creating and Managing Email Address Policies | p. 113 |
Creating and Managing Address Lists | p. 116 |
Bulk Management of Recipients | p. 121 |
Creating Multiple Recipients | p. 121 |
Modifying Multiple Recipients | p. 129 |
Reconnecting Multiple Disconnected Mailboxes | p. 133 |
PowerShell and the Transport Roles Message Routing | |
The Hub Transport Role | p. 135 |
Configuring Accepted and Remote Domains | p. 135 |
Get-AcceptedDomain | p. 136 |
New-AcceptedDomain | p. 136 |
Set-AcceptedDomain | p. 137 |
Remove-AcceptedDomain | p. 137 |
Get-RemoteDomain | p. 138 |
New-RemoteDomain | p. 138 |
Set-RemoteDomain | p. 138 |
Managing Email Address Policies | p. 141 |
Working with SMTP Connectors and Other Transport Objects | p. 144 |
Send Connectors | p. 144 |
Receive Connectors | p. 148 |
Other Transport Cmdlets | p. 151 |
Working with Routing Group Connectors | p. 152 |
Managing Transport Queues | p. 154 |
The Edge Transport Role | p. 157 |
Creating an Edge Subscription | p. 157 |
Edge Synchronization | p. 159 |
Cloning an Edge Transport | p. 161 |
Address Rewriting | p. 165 |
Configuring Rules and Agents on Transport Servers | p. 169 |
Transport Rules and Transport Agents | p. 169 |
Transport Rules | p. 169 |
Transport Agents | p. 173 |
Journaling Rules and Journaling Agents | p. 174 |
Journaling Rules | p. 174 |
Journaling Agents | p. 176 |
Anti-Spam Agents | p. 177 |
PowerShell and the Client Access Server Role | |
CAS Services | p. 179 |
Configuring Outlook Access | p. 179 |
Enabling and Configuring Outlook Anywhere Access | p. 180 |
Enabling and Configuring OWA Access | p. 181 |
Configuring POP3 and IMAP4 | p. 182 |
Configuring the Autodiscover Service | p. 183 |
Configuring the Offline Address Book (OAB) | p. 184 |
Working with Certificates | p. 187 |
Types of Certificates | p. 187 |
Generating a Certificate Request | p. 187 |
Importing the Certificate | p. 191 |
Enabling the Certificate | p. 192 |
PowerShell and the Mailbox Role | |
Mailbox Servers and Databases | p. 193 |
Configuring the Properties of a Mailbox Server | p. 193 |
Creating and Mounting a New Database | p. 194 |
Managing an Existing Database | p. 196 |
Removing an Existing Database | p. 201 |
Working with Mailboxes | p. 203 |
Exporting a Mailbox | p. 203 |
Importing a Mailbox | p. 207 |
Moving an Online Mailbox | p. 208 |
Running the Clean-MailboxDatabase Cmdlet | p. 211 |
Using the Recovery Database (RDB) | p. 213 |
Creating the Recovery Database (RDB) | p. 213 |
Restoring a Database to the RDB | p. 216 |
Removing the RDB | p. 218 |
PowerShell and the Unified Messaging Role | |
Working with Unified Messaging (UM) Role Objects | p. 219 |
Configuring the Properties of a UM Server | p. 219 |
Creating and Managing Dial Plans | p. 220 |
Creating and Managing UM IP Gateways | p. 223 |
Creating and Managing Hunt Groups | p. 224 |
Creating and Managing UM Mailbox Policies | p. 225 |
Monitoring and Troubleshooting a UM Server | p. 226 |
Managing Unified Messaging (UM) Users | p. 229 |
Managing the UM Auto Attendant | p. 229 |
Working with Call Answering Rules | p. 234 |
Exporting UM Call Data Records | p. 234 |
Working with UM-Enabled Mailboxes | p. 235 |
PowerShell and Message Routing | |
Exchange Server 2010 Message Routing | p. 239 |
Using Default Message Routing | p. 239 |
Using Exchange Hub Sites | p. 241 |
Using Exchange-Specific Costs on Site Links | p. 242 |
Tracking Messages with PowerShell | p. 246 |
Integrating Exchange Server 2010 into an Existing Exchange Server 2003 Environment | p. 249 |
Configuring Routing with Exchange Server 2003 | p. 249 |
Suppressing Link State Updates On Exchange 2003 Bridgehead Servers | p. 253 |
PowerShell and High Availability in Exchange 2010 | |
Database Availability Groups (DAGs) | p. 255 |
Creating and Configuring a DAG | p. 255 |
Adding or Removing a DAG Member | p. 260 |
Recovering a Failed DAG Member | p. 263 |
Creating and Configuring a DAG Network | p. 265 |
Removing a DAG | p. 268 |
Mailbox Database Copies | p. 269 |
Adding and Configuring a Mailbox Database Copy | p. 269 |
Moving the Active Mailbox Database Copy to a New Location | p. 272 |
Suspending or Resuming a Mailbox Database Copy | p. 274 |
Updating a Mailbox Database Copy | p. 276 |
Removing a Copy of a Mailbox Database | p. 276 |
Using DAG to Mitigate Failures | p. 277 |
Activating a Mailbox Database Copy on Another DAG Member | p. 277 |
Activating a Lagged Mailbox Database Copy on Another DAG Member | p. 279 |
Switching Over to Another DAG Member | p. 282 |
Switching Over to Another Datacenter | p. 283 |
Enabling Datacenter Activation Coordination (DAC) Mode | p. 285 |
Monitoring Highly Available Databases | p. 289 |
Monitoring Using the Exchange Management Console | p. 289 |
Monitoring Using PowerShell Cmdlets | p. 290 |
Monitoring Using Event Viewer | p. 291 |
Monitoring Using PowerShell Scripts | p. 293 |
PowerShell and Public Folders | |
Public Folder Database Management | p. 297 |
Installing Public Folders | p. 297 |
Creating a Public Folder Database | p. 298 |
Configuring a Public Folder Database | p. 299 |
Removing a Public Folder Database | p. 301 |
Managing Public Folders | p. 303 |
Assigning a Default Public Folder Database to a Mailbox Database | p. 303 |
Creating and Managing Public Folders | p. 305 |
Replicating Public Folders | p. 307 |
Removing a Public Folder | p. 308 |
Public Folder Permissions | p. 309 |
Adding Administrative Permissions to the Folder Structure | p. 309 |
Controlling Top-level Public Folders | p. 312 |
Setting Client Permissions to Public Folder Content | p. 312 |
Troubleshoot Exchange Server 2010 Using PowerShell | |
Troubleshooting with the Test Cmdlets | p. 315 |
Using Test Cmdlets for All Roles | p. 315 |
Using Test Cmdlets for the Mailbox Role | p. 317 |
Using Test Cmdlets for the Transport Roles | p. 318 |
Using Test Cmdlets for the Client Access Server Role | p. 320 |
Using Test Cmdlets for the Unified Messaging Role | p. 321 |
Using Test Cmdlets for Client Connectivity | p. 321 |
Using Helpful Non-Exchange Test Cmdlets | p. 323 |
Event Logging with PowerShell | p. 325 |
Retrieving Events with Gel-EventLog | p. 325 |
Setting Diagnostic Event Log Levels | p. 328 |
PowerShell and Automating Exchange Server 2010 Administration | |
Using and Finding Scripts to Automate | p. 331 |
Using Scripts to Automate Tasks in PowerShell | p. 331 |
Finding Scripts to Automate Tasks in PowerShell | p. 335 |
Monitoring Role-Based Access Control (RBAC) Permissions, Mailbox Audit Logging, and Reporting with PowerShell in Exchange Server 2010 | |
Configuring Role-Based Access Control (RBAC) Permissions | p. 339 |
Creating and Managing a Management Role Group | p. 339 |
Adding Members to the Management Role Group | p. 341 |
Retrieving Information about Role Groups and Role Group Members | p. 343 |
Setting and Viewing Management Scopes | p. 345 |
Using Mailbox Audit Logging to Monitor Exchange Server | p. 347 |
Enabling Mailbox Audit Logging | p. 347 |
Initiating Administrative Actions to Test Mailbox Audit Logging | p. 349 |
Initiating a Search of the Mailbox Audit Log | p. 352 |
Reporting and Other Useful Cmdlets | p. 355 |
Obtaining Information about a Mailbox with Get-MailboxStatistics | p. 355 |
Retrieving Logon Information about Currently Active Sessions with Get-LogonStatistics | p. 359 |
Using Other Useful Cmdlets | p. 361 |
Lab Environment Used for This Book | p. 367 |
The Platform on Which the Virtual Machines Ran During the Writing of This Book | p. 367 |
The Lab Environment Used in this Book | p. 368 |
Creating Test Users and Mailboxes for the Lab Environment | p. 369 |
Conclusion | p. 372 |
Create Your Own Journal Hore | p. 373 |
Table of Contents provided by Ingram. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.