Contact list from single user
Is there a way to use powershell to export the contact list from a single user in an exchange 2007 environment?
August 1st, 2011 4:15pm
On Mon, 1 Aug 2011 20:07:19 +0000, owmart07 wrote:
>Is there a way to use powershell to export the contact list from a single user in an exchange 2007 environment?
Users don't have contact lists. There are folders in a mailbox that
can contain contacts. You'd have to use CDO or maybe Redemption to get
the contents of the folder from the mailbox. You can do that with
Poershell but you'd probably find more examples of that written in
VBS.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2011 10:48pm
Hi,
Here's the specified powershell for you to export contact folder:
Export-Mailbox -TargetMailbox <MailboxIdParameter> -TargetFolder <Target_Folder_Name> -ExcludeFolders "\Contacts"
More information:
http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx
Best Regards!
August 2nd, 2011 1:34am
On Tue, 2 Aug 2011 05:26:00 +0000, Rowen-Xu wrote:
>
>
>Hi,
>
>Here's the specified powershell for you to export contact folder:
>
>Export-Mailbox -TargetMailbox <MailboxIdParameter> -TargetFolder <Target_Folder_Name> -ExcludeFolders "\Contacts"
Did you meant to "-IncludeFolders"? Even if you do that you won't get
a list of the Contacts in the mailbox, you'd just put the Contacts
into another mailbox.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2011 6:27pm