How to create a clone of a Public Folder object?
We have a Contacts object in Public Folders that contain some 3000 contacts. I would like to be able to schedule a job that create a clone of this object and all the contacts it contains every day. Like, "Customers" is cloned to "Copy of Customers".
Then every day "Copy of Customers" is removed and a new clone is made from the source contacts node "Customers".
I would guess this can be done with Powershell, but I have yet to find out how. Any ideas?
/Henrik
September 15th, 2011 9:33am
Considered using EWS to just copy them from one folder to the other?
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2011 9:41am
Yes, today it is a manual job. But surely it must be possible to automate in a PowerShell script?
September 15th, 2011 9:43am
You can script that in Powershell using the EWS Managed API:
http://msdn.microsoft.com/en-us/library/dd637749(v=EXCHG.80).aspx[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2011 9:45am
Hi HenrikElm,
Any update for your issue?
If need script the powershell, you could post the issue on below queue, you will get more help from there.
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Regards!
Gavin
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if
a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
September 16th, 2011 6:37am