Help with Powershell and EWS.

Hi,

I would like to get help with a question that I can't solve by myself.

I have a Powershell script that, when executed, checks an specified mailbox. It search for a contact folder named CorporateContacts. If exists, deletes it and creates one again. If not, create one. In both cases after create, copy there all the contacts in the GAL (i took this from scripting guru page).

Now, I need to modify it and I don't know how to do. Now, if the contact folder exists, I need that leaves all entries as is, and only copy contacts from the GAL which are not yet in the contacts folder. 

How can I accomplish it?

Thanks

July 10th, 2015 3:22am

Post script requests here at bottom of page: https://gallery.technet.microsoft.com/scriptcenter/site/requests
Free Windows Admin Tool Kit Click here and download it now
July 10th, 2015 8:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics