Link to home
Start Free TrialLog in
Avatar of padas6
padas6Flag for India

asked on

Get a Contact list from Exchnage Server 2007

I want get the all list of contact from the Mailbox server, as contact is more than 1000 , please let me know how can I get all the list in single command.
ASKER CERTIFIED SOLUTION
Avatar of PYThePorkpie
PYThePorkpie
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Apologies missed a very important part.. 2nd command should read
get-recipient -filter {AddresslistMembership -eq $contacts} -ResultSize unlimited
Avatar of padas6

ASKER

Thanks for the link, actually I want email external email address as well. I am facing some challenges for duplication contact entry so email address might be help me to get those user details.
Ok if you want the external email too just change command as follows:
get-recipient -filter {AddresslistMembership -eq $contacts} -resultSize unlimited|fl Name, ExternalEmailAddress|export-csv contactinfo.csv
Avatar of padas6

ASKER

The problem is resolved by Exporting the contact.
Avatar of padas6

ASKER

Good