2008-09-23 08:55:01 UTC
We wanted to take a last logon time of all users to find users not logged in
since 90 days.We tried to export the AD dump and found that data is not
updated for users who uses only OWA - webmail,then we have taken the last
logon details from individual exchange server using below mailbox statistics
command but later we realized that data taken from Exchange shell command
also is not valid completly and it has some descripency.Pls let us know how
we can get the last logon details from AD or Exchange 2007 and what is the
paramenter it uses in exchange 2007 to get the last logon details.
command used to export the details.
Get-mailbox -Resultsize unlimited –server server-name |get-mailboxstatistics
| select-object Database,DisplayName, LastLogonTime
Thanks in advanace.