winsysadminblog.com
Get a list of users in Active Directory who have not logged in for specified number of days using PowerShell | A Windows System Admin's Blog
A client is currently in the planning stages of doing a migration to Azure AD and Office 365 and one of the things we needed was a list of users who have not logged on in the last few months but are…