Programmatically insuring that all public folder databases have a replica of every folder

Hi,
I'm looking to essentially insure that all 3 public folder databases have a copy of every folder.  Right now there may be some that are only on mbx1 and mbx3, and some only on mbx1 and mbx2, etc.  It would seem that the right tool to leverage for
this task is the pre-canned AddReplicaToPFRecursive.ps1 script, but I am looking for clarification for how many times do I have to run it.
For example, if I have 3 servers to sync (MBX1, MBX2, MBX3), would I need to run all of the following commands:
* .\AddReplicaToPFRecursive.ps1 –Server MBX1 –TopPublicFolder \ –ServerToAdd “MBX2”
* .\AddReplicaToPFRecursive.ps1 –Server MBX1 –TopPublicFolder \ –ServerToAdd “MBX3”
* .\AddReplicaToPFRecursive.ps1 –Server MBX2 –TopPublicFolder \ –ServerToAdd “MBX1”
* .\AddReplicaToPFRecursive.ps1 –Server MBX2 –TopPublicFolder \ –ServerToAdd “MBX3”
* .\AddReplicaToPFRecursive.ps1 –Server MBX3 –TopPublicFolder \ –ServerToAdd “MBX1”
* .\AddReplicaToPFRecursive.ps1 –Server MBX3 –TopPublicFolder \ –ServerToAdd “MBX2”
Or is this overkill?
Thanks in advance!
JC

The -Server parameter says what server to use to get the hierarchy.  You can safely assume that hierarchy replication is working, so you don't need to use this parameter, leaving your script to this:
.\AddReplicaToPFRecursive.ps1 –TopPublicFolder \ –ServerToAdd "MBX1"
.\AddReplicaToPFRecursive.ps1 –TopPublicFolder \ –ServerToAdd "MBX2"
.\AddReplicaToPFRecursive.ps1 –TopPublicFolder \ –ServerToAdd 'MBX3"
You can schedule this to run with Task Scheduler, running with a service account that has appropriate permissions, on one of the public folder servers.  Or, you could schedule it to run on a CAS or some other server that has the Exchange Management Tools
installed, or you could run it using Remote PowerShell.  If you don't run it on a mailbox server, put back the -Server MBX1 (or any of the public folder servers) so the command connects to a valid hierarchy.  Again, you do not need to run the command
for every permutation of -Server and -ServerToAdd.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

Similar Messages

  • HT4847 How do I confirm that all my Numbers documents have been backed up on iCloud? I want to be able to see what has been backed up.

    How do I confirm that all my Numbers documents have been backed up on iCloud? I want to be able to see what has been backed up.

    On your computer go to iCloud.com, sign in and select the documents app.
    On your iPad go to Settings>iCloud>Storage & Backup>Manage Storage and your documents should be listed.
    If you are referring to an iOS device backup it is not possible to view these.

  • Muse CC thinks that ALL of my assets have been modified and wants to "convert" my site.

    I opened up my muse site and somehow Muse CC thinks that ALL of my assets have been modified and wants to "convert" my site. It makes me a bit worried.
    Here's what I've done since opening the site without a problem:
    I used the in-browser editing feature to change simple numbers on a single page - the home page - I got the regular notice to review and update - that worked with no problems.
    I have added several Muse-Themes widgets/templates/tools
    I've had a computer crash that required a hard re-boot to correct, Muse and this site were running at the time. (now that I think about it, this might be the problem)
    I don't recall whether Muse CC has updated in the last week (since it worked correctly for me)
    I run anti-malware software and virus protection - both of which run in realtime scanning internet connection, file downloads, etc.
    Can someone assure me that everything is OK - that sometimes this happens?
    My next step as I leave here is to login to my site and check file sizes to see if there's a significant difference...yes, I'm worried about viruses - I have great software but all software can be overcome by determined (and annoying) people.
    thanks for your attention to this and hopefully everything is just fine if a bit glitchy. I can work with glitchy :-)

    Thank you Akshay for replying so quickly. Lots of work to do then on my part.
    Is there a list of CC apps that have been updated to their 2014 versions, so that I can check that I have all the updates?
    Many thanks,
    David Perkins
    (Brighton, UK)

  • Desktop files automatically replicated  in every folder

    My desktop files are automatically being saved in every desktop folder. When I empty them from a folder into the Trash, the file also disappears from the desktop. I ran a virus scan, but not a virus that the scan could detect.
    Thoughts?

    Now every folder on the desktop contains every item on the desktop.
    That's an obvious impossibility, so I'd have to assume that you're misunderstanding something.  Can you post a screenshot or two to show us what you're seeing?

  • I would like to know how to insure that all track from a CD I rip into i-tunes all go into the same file regardless of the artist on the CD. I was recdently importing an All Time Low CD into i-Tunes for my daughter and because one track featured a guest a

    i would like to be able to insure that when i import a CD into i-Tunes that all tracks from that CD go into a single file for that album in their proper order regardless of whether or not there is a featured artist on one or two tracks or whatever. i recentl;y imported an All Time Low CD into i-Tunes for my daughter and because one song featured a guest artist i-Tunes placed that song in a seperate folder and so when i synced my daughters i-Pod Touch that one track is not with the rest of the tracks form the album and has to be listened to seperately. The song is from the same album and should be where it belongs with the rest of that album so she can listen to the entire album with the tracks in the proper order. I am sure that this can be done i just don't know how.

    Edit the Name of the problem song to Name [Feat. Guest]
    Change the Artist of that song to All Time Low
    marley2012 wrote:
    ... and i want to make sure that from now on all songs from any CD I import into i-tunes all go into the same album file if they are on that album originally. i do not want i-tunes seperating songs from my CD's for any reason. hopefully this is more clear.
    What you want cannot be done. iTunes has its quirks, and the above is the kind of workaround needed to make the media display sensibly on any device. The article I pointed you to has others that you may find useful in future.
    tt2

  • I have upgraded from 10.5 to 10.6 and found that all folders/files/pics have pixelated (either white or black) patterns on them. But it turns out fine when i open up the affected files/folders/pics. And this phenomenon persists after updating software.

    I have upgraded from 10.5 to 10.6 and found that all folders/files/pics in my disk drive have 'dotted' (either white or black) patterns on them. But it turns out fine when I open up the affected files/folders/pics. And this phenomenon persisted even after updating to the latest software. I proceeded to upgrade to 10.8 and updated the latest software thinking that this might resolve the problem but still stays the same way as it was. Could it be the Adobe flash player that is causing this problem? Please help.

    this posting shows how to migrate wiki. http://discussions.apple.com/thread.jspa?threadID=2205892
    I did it and it worked.

  • Can someone please help. I noticed that all my calendar events have completely disappeared :( I made sure that under settings "mail/contacts/calendars", that under sync it is "all events". Not working.

    Can someone please help. All calendar events have completely disappeared from my iphone. I tried troubleshooting. Made sure that in settings, the "mail/contacts/calendars", that under "sync" it was checked off "all events". But it was like that already. Nothing seems to be working. Are my events lost now? I'm stressing. Lol. Thank you.

    Check settings > iCloud > calendars.  Is it on or off?

  • HT1222 I went to update my I pad 3. As there was 1 Software update showing - it keeps asking for a 4 digit password? What's that all about? I have never had a password for OSX updates. H.E.L.P

    Hi community Folks
    Hope you are all well.
    I just turned on my I Pad and the settings icon showed 1 update, when I tapped on there is a software update !
    When I go to update it is asking me for a code ?
    which I don't have or have a Scooby doo ( Clue) about
    As I have updated my pad without any pass code before
    Any ideas please shout me back

    It is asking for the passcode you use to lock/unlock iPad

  • I have typed many documents to pages and saved as a folder i have just looked in the folder and everything has gone help

    i have typed many documents on pages and saved to a new folder i created i have just opened it half hour ago and saved some more and all ok i just reopened to save another and all the documents have gone help how do i get them back and where they go ??????

    On Lion 10.7.x you need to hold the CMD+r Keys insyead of notting from an Instsall Disc, but try that & step 3 onward...
    "Try Disk Utility
       1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
       2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
          Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
       3. Click the First Aid tab.
       4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
       5. Select your Mac OS X volume.
       6. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214

  • Hi, I've an iPad Mini with the latest version 6.0.2, a windows 7 Home Premium laptop and iTunes 11.0.1 (12), but I can't synchronize my music or videos with it. I managed to syncronize my books but thats all  I also have an iphone 5 and everything seems t

    Hi, I've an iPad Mini with the latest version 6.0.2, a windows 7 Home Premium laptop and iTunes 11.0.1 (12), but I can't synchronize my music or videos with it. I managed to syncronize my books but thats all.
    I also have an iphone 5 and everything seems to work fine with it.
    I see all movies and music available to be sync but when I click on the sync button, the process starts, the bottom bar shows an increase in consumed space then nothing happens and the bar goes back as nothing was added.
    Please help..
    I have tried everything but nothing works.

    Thanks Sk8dreams,
    ....but I wish I could have lol like u right now..
    If I could get a free iPad everything I'd already kept my iPad connected and restarted iTunes, I think I'd have had a truckload of them by now...
    I've done all of these..
    Like I said earlier I syncd everything to my iphone5 successfully...
    I got my PDF ebooks to this same iPad... Films & Music do not seem to be getting through..
    I'm sure someone out there knows what to do..

  • All my media files have same name

    I was working on my project on Final Cut Studio.
    Coming along okay.
    Saved the project, went out for an hour.
    Came back, opened project, and got a "Reconnect Files" message. In other words, one of my files was (is) missing, and I had to look for it in the hardrive.
    Don't know why that happened.
    So, I click, "Reconnect", browse to my Hard drive, and I see that all my media files have the same name! except they each have a different number at the end, that is, media file1, media file2, etc. I had given them all different names when I captured the video.
    Anyway, I cannot find the file that's missing, nor do I know why the files changed names.
    Any ideas why this happened?? I don't mind having to re-capture the missing file, it's just one file. I would mind if it was several. But I would like to know if anyone knows why this occurred, why did i lose this one file.
    Thank you.

    Where are you capturing to? How are you capturing? What are you naming your clip when you capture? Have you set a limit on capture size? Why?
    Patrick

  • How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • I see that i have a problem after installing my new hard drive on my macbook pro mid 2009 version. I put a new hard drive, with all of my information from my old drive installed on it, into the computer. but now have the blinking question mark folder

    i see that i have a problem after installing my new hard drive on my macbook pro mid 2009 version. I put a new hard drive, with all of my information from my old drive installed on it, into the computer. but now have the blinking question mark folder. I see that it means that it isn't reading the new hard drive.
    did i miss a step between transferring all of my information from my old hard drive to the new hard drive and installing the new hard drive into the computer. I believe that i installed properly. it was quite easy.
    thanks for your help

    It means there is no bootable system on the drive. If you still have access to the old drive, then I suggest you boot from it then clone it to the new internal drive. Use OPTION boot to boot from the Recovery HD on the old drive:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Source means the external old drive. Destination means the new internal drive.

  • Move Mailbox database and Public Folder database from VMwar RDM drive to VMware VMFS/VMDK Drive

    Good Afternoon,
    So I have 1 DAG with 3 mailbox server (1 physical and 2 Virtual (vmware)).  The Vmware server Mailbox and Public folder databases/logs are currently on RDM drive.  I need to get rid of the RDM drives and use VMFS/Vmdk drives for mailbox and public
    folder databases.  I was thinking 3 options:
    1- Introduce new VM Members into DAG and simply give these new VMs VMFS/VMDK drives, add servers into DAG and have DAG replicate databases to new server.  I really don't want to do this.
    2-On current VM, delete RDM drive along with database, add VMFS/VMDK drive replacement and have the DAG copy database.
    3- On current VM, suspend replication, copy database/logs in temp location, delete the RDM drive, create the VMFS/VMDK drive, copy the database and logs to new drive, enable replication.  Do the same for public folder database/logs, but not sure how
    to stop/start replications, since its not in DAG?
    I'm looking for solution that will take least amount of time.  Option 3 seems best solution, but not sure if there any gotchas.. What are you thought??
    Thanks in advance for you help

        Take the database offline means stop replications to the the passive mailbox server?
    Also, what is procedure to take public folder offline.  We have public folder replicated on all 3 servers.
    Hi cuttabutta,
    Yes, take the database offline on the passive server can stop replication from primary server.
    you can also take the public folder database offline to stop replication.
    In addition, you can refer to the following article to configure public folder replication:
    https://technet.microsoft.com/en-us/library/bb691120(v=exchg.141).aspx
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Niko Cheng
    TechNet Community Support

  • Exchange 2010 Public folder database size grown upto 1.22TB

    I have situation to discuss , have three exchange public folder server with 2010Ent edt. One of Pub folder dtabase has been reached 1.22TB . Problem is that we cant increase more storage as its reached over limit. We are unable to do backup as its need to
    split in multiple chunk . I cant do offline defrag as if now casue of LUNs limit.
    Do someone has such sitaution faced and have any recommendation is this ? I can do create a new PF database. More over I am looking some short of solution to split whole database in two part hosted by two PUB server and each database just do content replication
    with each hosting own database on each server.Will really appriciate for any good suggestion. I am open for all other possibilities.
    Saty

    I have executed whole project to move from 2010 to 20103. Public folder was a big pain. It was 3 copy of 1.32 TB. Plan started from implementation of Archiving tool for exchange.
    1- First level pulled all detail reports for PF name,size last access time ,update time ,type9 mail enable or normal.
    2- Pull the report and calculate the free white space with all calculation of individual server wise, and get the actual data size ,
    3- Target to one PF server holding passive copy of public folders (Not Master copy)
    4- Target the public folder keeping 0KB size and create script to delete in non recurs mode so only folders which has size 0 will be delete and rest all be left just like that .
    5- later target the folder size keeping huge data and foliter it out with root folder and check out the permission and reach out people if the really need the data .Get the sign off and delete it through recurs script.
    If you not put recurs delete it will never allow to delete whole folder in one way.
    6- Target folder which data are important and move them to shared mailbox . Using soem restore tool which can export pst of those folder and import into mailbox. Set the permission accordingly. And set Enterprise erchiving policy for that shared.Same above
    two exercise need to apply for all public folders.
    7- Target those folders which are in use and try to convince and move them to shared mailbox with unlimited mailbox size with EV archiving.
    8- And at the end move replica of target server to master copy.
    9- Once replica move is complete you can plan to delete the PF data edb file. It wont allow to delete directly as you have to go through ADSIEDIT method only.
    10- while same exercise need to do for all other passive copy.
    11- Create a fresh edb and now you can move pf replica content to new edb which will help to move actual data with very limited whitespace.
    12- And this way whole PF will be in actual size and all junk and unwanted files/data/emails/meetings etc will be removed.
    13- There will be one common issue of form created through outlook so you need to import them carefully using default system folder.

Maybe you are looking for

  • Apple TV does not show up on TV screen

    Had my Apple TV for a few months, been used lots. Recently it no longer shows up on my TV, I have an LG TV which just flashes no signal across the screen. On a few occasions I've been able to unplug everything, plug it all back in and it would work p

  • Best way to replace hard drive with Time Machine

    Hello, I searched dozens of threads before posting but I didn't find my specific topic. I have a G5 (single CPU) with two internal hard drives plus one external drive. The original hard drive is only 80gb and it has been quite full for several years

  • How to pass a KeyEvent to a JTextPane?

    Hi, I have a JTextPane and I display a JPopupMenu on top of it. The menu implements a MenuKeyListener to catch typed text and filters the menu content based on the typed text. I also need to insert the typed characters into the document in the underl

  • Overwritten Folder Recovery

    Earlier today, I was backing up my files from my mac to my external hard drive. I copied and pasted all of my project folders into the folder on my external. The prompt came up to overwrite and I chose to, being that most of the files were updates of

  • Multiple proc. executions in VB with ADO

    Hi ! I am migrating a VB application, from SYBASE to ORACLE. In this application, some stored proc. are called in a single "Execute" line of VB code: strSQL = "EXEC proc_name;EXEC proc_name;EXEC proc_name..." oCommand.Execute strSQL This works with S