Thanks Troy! Ill give it a try

Thanks,
Bob



On Mon, Nov 17, 2008 at 3:17 PM, Troy Meyer <[EMAIL PROTECTED]>wrote:

> Nope, cant pipe John into Jill, that's illegal in this state.  But the joy
> of objects means that anyway you can grab that mailbox will work.  Add your
> people to a group and use
>
> Get-distributiongroupmember testgroup | export-mailbox -pstfolderpath
> "p:\test" -includesfolders "Contacts"
>
> -troy
>
> -----Original Message-----
> From: Robert Smith [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 17, 2008 2:53 PM
> To: MS-Exchange Admin Issues
> Subject: Re: Export-Mailbox Command
>
> Ideally, I would like to grab only the contacts folders from 30 users, that
> are located in different storage groups & databases, and export the contacts
> folders to their respective PST files.
>
> Can you pipe the commands;
> Get-User John | Jill | Tom | export-mailbox -pstfolderpath -includefolders
> "contacts"
>
>
> Thanks,
> Bob
>
>
> On Mon, Nov 17, 2008 at 2:28 PM, Troy Meyer <[EMAIL PROTECTED]>
> wrote:
>
>
>        Do you mean the contacts from a specific mailbox or the whole
> mailbox?
>
>        If you mean simply having the whole mailbox kicked to PST, it
> depends how you define your group.
>
>        Say you wanted to grab all mailboxes from an ou?
>
>        Get-mailbox -organizationalunit testou | export-mailbox
> -pstfolderpath
>
>        That would create a pst named username.pst for each user in the ou
> in your folder path.
>
>        If you wanted just their contacts
>
>        Get-mailbox -organizationalunit testou | export-mailbox
> -pstfolderpath -includefolders "contacts"
>
>
>        Hope that helps
>
>        troy
>
>
>        -----Original Message-----
>        From: Robert Smith [mailto:[EMAIL PROTECTED]
>        Sent: Monday, November 17, 2008 1:50 PM
>        To: MS-Exchange Admin Issues
>        Subject: Export-Mailbox Command
>
>        What would the syntax be to export contacts from multiple mailboxes
> to their own .PST files ?
>
>
>        Thanks,
>        Bob
>
>
>
>
>
>
>        ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
>        ~             http://www.sunbeltsoftware.com/Ninja                ~
>
>
>
>
>
>
> ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
> ~             http://www.sunbeltsoftware.com/Ninja                ~
>

~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~             http://www.sunbeltsoftware.com/Ninja                ~

Reply via email to