I'm trying to figure out a 'one line' command for this.
On windows I could:
net user username /domain
and it shows up in the results in human format
On the mac I can do this:
dscl "/Active Directory/DOMAINNAME/" -read /Users/USERNAME pwdLastSet
but the format is in nanoseconds. I don't know how to convert it to a real date. Can anyone assist?
