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 Updated April 25, 2024 at 16:12 . Thoughts? Email me. Posted to: Mastodon Bluesky