When gathering against Exchange 2010, the Exchange Databases task fails with the error: "Object reference not set to an instance of an object"
This can occurr if the Powershell Execution Policy on the MessageStats server is set to restricted. The MessageStats server cannot create a remote powershell session with the exchange server.
OR
The task credentials need to be refreshed.
Verify remote powershell is not working:
If you get an error from Powershell stating an issue with the Execution Policy being set to Restricted or something similar, change the Execution Policy to Unrestricted:
After the Execution Policy has been changed, run the gathering again and confirm the Exchange Databases task completes successfully.
If the Exchange Databases task still fails or the Powershell Execution Policy did not need to be changed, refresh the task credentials: