Search ADAccount Timespan for AccountInactive

Last updated:

POWERSHELL

Search-ADAccount uses LastlogonTimeStamp for -TimeSpan when used with -AccountInactive


references:

Search-ADAccount (ActiveDirectory) | Microsoft Learn