./RemoveReplicaFromPFRecursive.ps1  folder question

Posted on 2011-05-03
Last Modified: 2012-06-27
./RemoveReplicaFromPFRecursive.ps1 –server <Server name> -ToPublicFolder “\FolderName”-ServerToRemove <Server name which will be removed from the replica list>

Does ./RemoveReplicaFromPFRecursive.ps1 only remove the top folder replica or can I remove subfolder replicas as well \folder\subfolder\subfolder?
Question by:355LT1
    LVL 31

    Expert Comment

    It removes subfolder replicas too as it is Recursive.

    Author Comment

    How about ./RemoveReplicaFromPFRecursive.ps1 –server <Server name> -ToPublicFolder “\FolderName\subfolder\subfolder ”-ServerToRemove <Server name which will be removed from the replica list> ?


    I need to know if I can specify a path to a folder not just the top folder?
    LVL 31

    Accepted Solution

    Yes, that should work.

    Author Closing Comment

    Only top folder works.
    LVL 31

    Expert Comment

    What happened when you tried:
    TopPublicFolder “\FolderName\subfolder\subfolder"

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Want to promote your upcoming event?

    Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    Use email signature images to promote corporate certifications and industry awards.
    To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now