mkramer777
asked on
active directory users
Is their a process for finding out which active directory users have not had any activity for let's say 1 year? I know I have many users in AD that are old and can be deleted. How about a backup of AD before I start doing anything?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dsquery user –inactive X –limit 0
Step 2: Export the List of Inactive Users
Dsquery user –inactive X > C:\Folderyouwantthereports
Managing Inactive Active Directory Accounts Using PowerShell:
http://www.itninja.com/blog/view/managing-inactive-active-directory-accounts-using-powershell
Hope this helps!