To find the last logged on date of a user in your AD try this:
$theName = read-host "Please enter the username"Get-ADUser -Identity $theName -Properties “LastLogonDate”
$theName = The username of the staff member
Post a Comment
No comments:
Post a Comment