When managing an Exchange 2010 server organization in a production environment, an Exchange Administrator many times wants to keep track of things like Database Latency, Disk Space problems, search issues, user needs, and more.
Beginning with RTM, Exchange 2010 has shipped with 3 PowerShell Troubleshooters out of the box. Written in the PowerShell scripting language, they are ready for you to use:
- Content Index Troubleshooter(Troubleshoot-CI.ps1)
- Database Latency Troubleshooter(Troubleshoot-DatabaseLatancy.ps1)
- Database Disk Space troubleshooter(Troubleshoot-DatabaseSpace.ps1)
These PowerShell scripts are located in the \Program Files\Microsoft\Exchange Server\V14\Scripts folder.
The Content Index Troubleshooter:
The CI Troubleshooter (Troubleshoot-CI.ps1) is designed to monitor and perform troubleshooting on Content Index catalogs. It detects and resolves the following symptoms:
- Deadlock: Exchange Search deadlocks waiting on threads from MSSearch
- Corruption: One or more search indices are corrupted
- Stall: Similar to deadlock in that the indices are not getting updated
- Backlog: The Search catalog is backlogged resulting in missing index searches
The Database Latency Troubleshooter:
The Database Latency Troubleshooter (Troubleshoot-DatabaseLatency.ps1) is designed to monitor and perform troubleshooting on database latency. It detects and resolves the following symptoms:
- Disk latency
- Active Directory Latency
- RPC Latency
- Top CPU user
This troubleshooter will run again the local mailbox database only.
The Database Disk Space Troubleshooter:
The Database Disk Space Troubleshooter (Troubleshoot-DatabaseSpace.ps1) is designed to monitor and perform troubleshooting on database disk space issues. It detects the amount of database disk space, and it detects the cause for log generation:
- It tracks the top users that are generating logs
- It tracks the available disk space for both logs and database
For more info. in depth please refer to the below link as it provides with the commands and event ids.