POWERSHELL

One-liners:

Show all users in Active Directory with “password never expires”:

Show last login time, in sorted format for computerobjects:

Show last login time, in sorted format for userobjects: