powershell script to export mailbox user attribute to a csv file

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.

cawasakiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Joseph DalyConnect With a Mentor Commented:
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
 
Joseph DalyCommented:
What do you mean by alias?
0
 
cawasakiAuthor Commented:
hi,

alias i s an exchange attribute.

and i need powershell command without quest command.

thanks
0
 
cawasakiAuthor Commented:
any help plz?
0
 
cawasakiAuthor Commented:
ok i accept your solution, the alias attribute is simple to get, only need to call alias :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.