Active Directory User and Group Reporting: Users that have not logged on in the last X days
One way to detect inactive user accounts is to examine when was the last time they logged on to the Active Directory domain. Without further ado, let’s look at the PowerShell snippet that returns all user accounts in the domain…