List User Account Creation Date

Discussion in 'Scripting' started by Chopra, Mar 11, 2005.

  1. Chopra

    Chopra Guest

    I would like to list all the User Accounts along with the creation date, in
    windows 2003.
    Chopra, Mar 11, 2005
    1. Advertisements

  2. On the server, open a CMD.EXE prompt and type:

    dsquery * domainroot -filter "(&(objectCategory=Person)(objectClass=User))" -attr distinguishedName sAMAccountName whenCreated -Limit 0

    See tip 7992 and links in the 'Tips & Tricks' at

    Jerold Schulman
    Windows Server MVP
    JSI, Inc.
    Jerold Schulman, Mar 11, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.