Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Ad-tidy is GUI free tool that is allow us to identify and clean up inactive user and computer accounts in Active Directory Domain Controller.
Search your Active Directory domain for user/computer accounts that are no longer in use by filtering based on last logon time, DNS record timestamp, and much more.
Use this Step Below:
Using the AD User interface common queries from the Find Option and/Or via command line IE> dsquery user -inactive < NumWeeks >
Open active director user and computers and from the find click common queries select number of days the user is not logged on
Import-Module ActiveDirectory
$Month = Get-Date.AddDays(-30)
Get-ADUser -filter {LastLogonDate -le $Month} | FL *
dsquery user -inactive < NumWeeks >
Nexthink program is the easiest way to get that information