troubleshooting Question

Created & lastlogon domain adid accounts in csv output

Avatar of sunhux
sunhux asked on
Active DirectoryScripting LanguagesMicrosoft Legacy OS
3 Comments2 Solutions557 ViewsLast Modified:
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
ASKER CERTIFIED SOLUTION
Bembi
CEO

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros