PowerShell PowerShell (Get-ADUser -LDAPFilter "(samaccountname=*)" | Get-ADObject -Properties lastLogon).lastLogon 1 (Get-ADUser -LDAPFilter "(samaccountname=*)" | Get-ADObject -Properties lastLogon).lastLogon