The following table lists some of the most commonly-used EMS PowerShell scripts that are installed with Exchange 2010:
Name |
Description |
---|---|
Adds a new server to the replication list for a public folder and all folders beneath it in the hierarchy | |
Adds a user and their permissions to the client permissions list for a public folder and all folders beneath it in the hierarchy | |
Aggregates and reports information collected by multiple EMS public folder cmdlets | |
Monitors the redundancy of replicated mailbox databases | |
Fixes recipient objects that have multiple primary SMTP addresses defined | |
Reports on database availability group, switchover, and failover metrics | |
Reports on replication status and statistics for databases | |
Provides end-to-end latency information gathered from message tracking logs | |
Generates maintenance and quota notification schedule time based on a set of input values | |
Configures a send connector for cross forest trust for anonymous users | |
Exports retention tags to an external file | |
Displays analysis of the Exchange setup log created during installation | |
Generates a report on anti-spam filtering | |
Reports on all entries for the Content Filter and groups by SCL values | |
Reports on the top 10 (unless specified otherwise) sender domains blocked by anti-spam agents | |
Reports on the top 10 (unless specified otherwise) sender IPs blocked by anti-spam agents. | |
Reports on the top 10 (unless specified otherwise) senders blocked by anti-spam agents. | |
Reports on the top 10 (unless specified otherwise) reasons for rejection by blocklist providers. | |
Reports on the top 10 (unless specified otherwise) recipients rejected by anti-spam agents. | |
Installs the anti-spam agents on a transport server. | |
Removes the anti-spam agents from a transport server. | |
Imports retention tags from an external file | |
Validates the safety of the environment, before swapping failed database copy to a spare disk and reseeding. | |
Moves the queue database to an alternate disk on a transport server. | |
Moves all public folder content from one server to another. | |
Works like the Move-Mailbox cmdlet in Exchange 2007 and performs synchronous mailbox moves. | |
Creates a test user that can be used when testing connectivity on CAS servers. | |
Prepares mailboxes for cross-forest mailbox moves. | |
Attempts to redistribute active databases evenly across a number of mailbox servers within a DAG. | |
Removes a public folder replica and all folders beneath it in the hierarchy. | |
Removes a user from the client permissions list for a public folder and all folders beneath it in the hierarchy. | |
Replaces a server with a new server in the replication list for a public folder and all folders beneath it in the hierarchy | |
Replaces the permissions of a user for a public folder with a new set of permissions and applies it to all folders beneath it in the hierarchy | |
Replaces a user for a new user on the client permissions list for a public folder and applies to all folders beneath it in the hierarchy | |
Resets virtual directory on CAS | |
Rebuilds full-text index catalog | |
Initiates DAG server maintenance | |
Stops DAG server maintenance and resumes mailbox database copies | |
Diagnoses disk subsystem issues (used by SCOM) | |
Troubleshoots log growth (used by SCOM) |
Scripts may be added to this directory as you install rollup updates and service packs, and some of them will only be present when a specific server role is installed. For example, the anti-spam scripts will only be available on transport servers. To view all scripts in the $ExScripts
folder, run Get-ChildItem $exscripts –Filter *.ps1
.