active directory health checkup and maintainence
how to check on daily basis active directory health, maintainence, and command for total number of users count active in active directory.
July 13th, 2015 2:23am

Hi Sikdar,

Read this artcle to know more about Monitoring Active Directory

https://msdn.microsoft.com/en-us/library/bb727046.aspx?f=255&MSPPError=-2147217396

Q"command for total number of users count active in active directory."

A. Use powershell or the other links

#Count all user accounts in AD

get-aduser -filter * | measure-object | select-object count

#Count Inactive User accounts:

Search-ADAccount -AccountInactive | Measure-Object | Select-Object count

References:

Getting the number of user accounts in Active Directory

http://www.experts-exchange.com/Software/Server_Software/Active_Directory/Q_28261022.html

Search-ADAccount

https://technet.microsoft.com/en-us/library/ee617247.aspx

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 3:24am

The above given command looks good to resolve your concern.

Apart from manual steps, you may also consider on Lepide health monitoring tool that is an automated solution and helps to keep a constant eye on Health Status of Active Directory and get notified instantly via customized email notification.

July 13th, 2015 5:31am

I would ask this in Directory Service forum for further information...

https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverDS

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 5:09pm

As Exchange Admin you can use the tools below to make sure your AD is healthy so the Exchange would be run smoothly

  • Verify the DC replication, by running CMD:

repadmin /showrepl

  • Diagnose your DC health, by running CMD:

Dcdiag

http://blogs.technet.com/b/askds/archive/2011/03/22/what-does-dcdiag-actually-do.aspx

  • If you have any Domain trust you can check it by rum CMD:

NLTEST

nltest.exe /server:fourthcoffee-dc-01 /sc_query:fourthcoffee

nltest /domain_trusts

  • Run Active Directory best practice analyzer

https://technet.microsoft.com/en-us/library/dd391875(v=ws.10).aspx

July 14th, 2015 9:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics