Solved

powershell script to export mailbox user attribute to a csv file

Posted on 2011-09-12
5
595 Views
Last Modified: 2012-05-12
Hello Experts,

I need a script to export export mailbox user attribute to a csv file.

i have Exchange2007 SP3.

I need to export from 2 specific OU this attributesfor all users :

Firstname, lastname, Alias.

thanks for your help.

0
Comment
Question by:cawasaki
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 36525089
What do you mean by alias?
0
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 500 total points
ID: 36525100
You could do something like

get-qaduser -searchroot {DN of OU} | select-object firstname,lastname,email

If by alias you mean the email address. If not then tell me what you mean by alias and i can modify the query.
0
 

Author Comment

by:cawasaki
ID: 36525232
hi,

alias i s an exchange attribute.

and i need powershell command without quest command.

thanks
0
 

Author Comment

by:cawasaki
ID: 36527673
any help plz?
0
 

Author Closing Comment

by:cawasaki
ID: 36528467
ok i accept your solution, the alias attribute is simple to get, only need to call alias :)
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
A procedure for exporting installed hotfix details of remote computers using powershell
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now