How to convert LastlogonTimeStamp : 130057575269700024

by Christopher.Ellis at 2013-02-19 09:34:45

get-aduser -filter * -property lastlogontimestamp | ft -property Name, lastlogontimestamp -A

Leonardo Marasigan 129993819263707132
Robert Madams 129993824750603589
Daniel Magee 130051067188315977
Caitlin Wiltshire 130050893054980713
Felicia Sim 130047670705557256
Allissa Keane 130042241541799907
Mariana Zhekova 130056623887716489
Jerome Collison 130057562087984403
Kaley MacCrimmon 130040378203318225
Richard Greenhow 129999747385958147
Bill Ross 129997306247248927
Martine Potvin 130051108470428488
Holly Selinger 130048166379468111
Navin Reddy 130048890313749993
Tom Desjardins 130050550450101026
Jane Doe 130057541147085442
Debbie Therrien 130005934747646862


How do I automatically get a proper date format which is easily understandable/readable from powershell?
by ArtB0514 at 2013-02-19 10:15:46
http://powershell.org/discuss/viewtopic.php?f=9&t=1278#p5621
by vstarmanv at 2013-02-19 22:46:43
get-aduser -filter * -property lastlogontimestamp | ft -property Name, {[System.DateTime]::FromFileTime($_.lastlogontimestamp)} -A
by Christopher.Ellis at 2013-02-20 05:56:27
Thank you vstarmanv