Link to home
Start Free TrialLog in
Avatar of sunhux
sunhux

asked on

Created & lastlogon domain adid accounts in csv output

Can provide me a command / script that will extract out all domain ids
(when I'm logged into the AD server) with each of their
a) Created Date
b) Description/owner (ie Account Name)
c) LastLogon date
d) Account Status (Enabled, Disabled/Locked, ...)


Output them in csv format.  Thanks

Ideally not in PowerShell as my "PowerShell x86" takes
15 over minutes to get to command prompt.  wmic or
Dsquery or simple commands are preferred
SOLUTION
Avatar of Bembi
Bembi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunhux
sunhux

ASKER

With "CSVDE -f file.csv"  the column "LastLogon" give the values in
1.3E+17.  Some examples of the date are:   130441332224327000

How do I interprete the above date/time?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial