Monday, October 24, 2016

Get-OutlookAnywhere takes time to show comand output

I was trying the below command, to see the OutlookAnywhere information for all exchange servers, but it was taking really long time to load the information.

Get-OutlookAnywhere | ft ServerName, *auth*

Then I used the command with -AdPropertiesOnly to fetch the info quickly. This will show the information, really quick.
 
Get-OutlookAnywhere -AdPropertiesOnly | ft ServerName, *auth*


Saturday, October 8, 2016

This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange.

Unable to uninstall exchange server. Getting the below error message. I am sure, the servers is already removed the DAG, still I am getting the below error message.

Error:
This computer is a member of a database availability group (DAG). It must be removed from the DAG before you can uninstall Exchange.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.CannotUninstallClusterNode.aspx


To fix this issue, clean up the DAG from the system.
 run the command  Set-DatabaseAvailabilityGroup without any switch, that should fix the issue.
If the problem still persists, run the below command from an elevated prompt.
cluster node nodename /forcecleanup