Announcement

Collapse
No announcement yet.

Exporting all mail aliases

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exporting all mail aliases

    Morning all,

    Anyone know of a command / way to extract all mail aliases from active directory. Basically I want a list of all email addresses configured within our domain

    Thanks

    Michael
    Michael Armstrong
    www.m80arm.co.uk
    MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

  • #2
    Re: Exporting all mail aliases

    Sure. Use this:

    Code:
    csvde -r "(objectClass=user)" -d "ou=help desk,dc=dpetri,dc=net" -l displayName,proxyAddresses -p subtree -f c:\hd-users-email.csv -u
    You do not have to use the -u, I do.
    Cheers,

    Daniel Petri
    Microsoft Most Valuable Professional - Active Directory Directory Services
    MCSA/E, MCTS, MCITP, MCT

    Comment


    • #3
      Re: Exporting all mail aliases

      Daniel,

      Thanks very much for that.

      Michael
      Michael Armstrong
      www.m80arm.co.uk
      MCITP: EA, MCTS, MCSE 2003, MCSA 2003: Messaging, CCA, VCP 3.5, 4, 5, VCAP5-DCD, VCAP5-DCA, ITIL, MCP, PGP Certified Technician

      ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

      Comment

      Working...
      X