Sajal Choudhary https://sajalchoudhary.net Search ADAccount Timespan for AccountInactive POWERSHELL Search-ADAccount uses LastlogonTimeStamp for -TimeSpan when used with -AccountInactive references: Search-ADAccount (ActiveDirectory) | Microsoft Learn ← Back to Til Share UPDATED April 25, 2024 at 13:12 Thoughts? Email [email protected]