Public folder replication schedule
Hello,
Is there a way with the command shell to set all public folders and subfolders to replicate using the default public store settings? I have found how to change one folder, but I can't get it to apply to all sub folders. When I use
Set-PublicFolder "\projects" -ReplicationSchedule Always
it will set the top level folder but everything below stays set to "Never Run"
thanks
-k
December 11th, 2007 7:54am
Please try the following code:
Code BlockGet-PublicFolder -Identity "\projects" -Recurse | Set-PublicFolder -ReplicationSchedule Always
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2007 5:34pm
Thanks Andrey!
That set them all to "Allways" which helps get my replication done, but I was wanting to have it check the "Use public folder database repication schedule" because my understanding is that will make it so I can control the schedule globally from the public store database and not have to worry about each induvidual folder, Do you know a way to accomplish that?
Thanks again,
-k
December 11th, 2007 7:20pm
Sure:
Code Block
Get-PublicFolder -Identity "\projects" -Recurse | Set-PublicFolder -UseDatabaseReplicationSchedule $true
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2007 7:30pm
Perfect! Thank you. I need to readup on the command shell
-k
December 11th, 2007 7:45pm