Solved

powershell script to export mailbox user attribute to a csv file

Posted on 2011-09-12
5
591 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
A procedure for exporting installed hotfix details of remote computers using powershell
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

15 Experts available now in Live!

Get 1:1 Help Now