How to check the last logon time for all the users in the domain (Windows PS)
a) Get-LastLogonTime -AllUsers
b) Get-ADUser -Filter * | Select-Object LastLogonDate
c) Get-ADUser -Filter * | Select-Object LastLogon
d) Get-ADUser -Filter * | Select-Object LastLogonDate | Sort-Object LastLogonDate

Q&A Education