Appendix: Scripts

Topic Last Modified: 2012-11-26

The following scripts are included in the Microsoft Exchange Server 2010 Monitoring Management Pack.

Script Purpose

Exchange_Execute_Diagnostic_Task.js

Runs synthetic transactions through PowerShell using the Exchange Monitoring Service.

GetSite.js

Returns the Active Directory site name used by the Exchange server.

MicrosoftExchangeServerRoleDiscovery.js

Discovery script that creates Exchange 2010 server role instances.

MicrosoftExchangeOrganizationDiscovery.js

Discovery script that creates site-level "Service" entities for rollup of state by services used by Exchange, including but not limited to the Post Office Protocol 3 (POP3), Internet Messaging Access Protocol 4 (IMAP4), and Outlook Web App services.

MicrosoftExchangeClientAccessComponentDiscovery.js

Discovery script for Client Access server entities.

MicrosoftExchangeEdgeTransportComponentDiscovery.js

Discovery script for Edge Transport server entities.

MicrosoftExchangeHubTransportComponentDiscovery.js

Discovery script for Hub Transport server entities.

MicrosoftExchangeMailboxComponentDiscovery.js

Discovery script for Mailbox server entities.

MicrosoftExchangeMailboxDiscovery.ps1

Discovery script for Mailbox High-Availability and Database Availability Groups.

MicrosoftExchangeDomainControllerDiscovery.ps1

Discovery script for the Active Directory topology used by Active Directory driver monitoring.

MicrosoftExchangeUnifiedMessagingComponentDiscovery.js

Discovery script for Unified Messaging entities.

MicrosoftExchangeMonitoringRoleServiceBaseDiscovery.js

Discovery script for the Monitoring role components, which include the Correlation Engine.

MicrosoftExchangeMonitoringCorrelationEngineDiscovery.js

Discovery script for the Correlation Engine.

DiagnosticScriptCommonLibrary.ps1

Common library file for use by other Management Pack scripts.

ExecuteDiagnosticScript.ps1

Provides a generic wrapper to run other PowerShell scripts within the Management Pack (without requiring Operations Manager 2007 R2).

TestGenericRollupHealth.ps1

Manages the health state calculations for your environment.

Troubleshoot-CI.ps1

Detects and resolves issues related to content indexing on Exchange 2010 Mailbox servers.

Troubleshoot-DatabaseSpace.ps1

Provides a disk space monitor to accurately monitor Exchange 2010 Mailbox servers.