Why is last logon different from lastlogontimestamp
To get an accurate value for the user's last logon in the domain, the Last-Logon attribute for the user must be retrieved from every domain controller in the domain. The largest value that is retrieved is the true last logon time for that user.
Whenever a user logs on, the value of this attribute is read from the DC. The initial update after the raise of the domain functional level is calculated as 14 days minus random percentage of 5 days.
If you add any files,it will delete all existing files related to this question- questions only answer remains unchanged. Your request will be Queued. We will review the question and remove. It may take some days. If you add any files,it will delete all existing files related to this answer- only this answer. Improve this answer.
Greg Askew Greg Askew PowerShell also provides a LastLogonDate property. Drew Chapin Drew Chapin 6 6 silver badges 15 15 bronze badges. Leave the lastLogon alone! Thank you for the great addition! Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta.
Now live: A fully responsive profile. Linked 1. Related Hot Network Questions. Submit ». I see Jitehsh gave an answer! Gary M G This person is a verified professional. Replace Attachment. Add link Text to display: Where should this link go? Add Cancel. Insert code. Join me to this group.
0コメント