Gets Active Directory user, computer, or service accounts
Search-ADAccount -AccountInactive -TimeSpan 30
ActiveDirectory