Topic Last Modified: 2011-04-06

You can use Lync Server Control Panel to assign users to a specific server or pool. You can also use the Lync Server Management Shell to move users. You can use filters in Lync Server Control Panel and Lync Server Management Shell to refine the scope of the users that you want to move. In an environment with a very large number of users, your ability to filter users based on the pool that they are homed on is critical to managing users.

To move all users from one server or pool to a different server or pool

  1. From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.

  3. In the left navigation bar, click Users.

  4. On the Action menu, click Move all users to pool.

  5. In Move Users, select the pool that contains the user accounts that you want to move in Source registrar pool.

  6. In Destination registrar pool, select the pool that you want to move the users to.

  7. (Optional) If the destination server or pool is unavailable, select the Force check box.

    Warning:
    If you select Force, the user account is moved, but any associated user data is deleted (for example, conferences that the user has scheduled). If you do not select it, both the account and the associated data are moved.

To move users from one pool to a different pool by using a filter

  1. From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.

  3. In the left navigation bar, click Users.

  4. In User Search, select Search, click Add Filter.

  5. In the Search criteria, select Registrar Pool, select Equal to, select Current Pool FQDN, and then click Find.

  6. On the Action menu, click Move all users to pool.

    Note:
    When a filter is applied to an existing set of users, the option Move all users to pool is in the context of the filtered subset of users, not all possible users.
  7. In Move Users, select the pool that contains the user accounts that you want to move in Source registrar pool.

  8. In Destination registrar pool, select the pool that you want to move the users to.

  9. (Optional) If the destination server or pool is unavailable, select the Force check box.

    Warning:
    If you select Force, the user account is moved, but any associated user data is deleted (for example, conferences that the user has scheduled and contacts). If you do not select it, both the account and the associated data are moved.

To move users from one pool to another using the Lync Server Management Shell

  1. Depending on how you run Windows PowerShell commands (that is, locally or remotely), you need to log on as a member of the correct Lync Server administrative roles as follows:

    1. If you are running the commands on the local machine (for example, you log on directly to a Front End Server): Log on to the computer where Lync Server Management Shell is installed as a member of the RTCUniversalServerAdmins group or with the necessary user rights as described in Delegate Setup Permissions.

    2. If you are running the commands remotely on another machine (for example, you log on to your computer and run the commands remotely on a Standard Edition Front End Server): From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

  3. To move single users, use the Move-CsUser cmdlet as follows:

    Copy Code
    Move-CsUser -Identity "Pilar Ackerman" -Target "pool01.contoso.net"
    

    Where the user to move is the user Pilar Ackerman, and the user will be moved from their currently assigned home pool to the pool pool01.contoso.net.

  4. To move a large number of users, use filters with the Get-CsUser cmdlet and pass the resulting set of users to Move-CsUser:

    Copy Code
    Get-CsUser -Filter {RegistrarPool -eq "CurrentPoolFqdn"} | Move-CsUser -Target "TargetPoolFQDN"
    

    The combined commands of the Get-CsUser and Move-CsUser might result in this:

    Copy Code
    Get-CsUser -Filter {RegistrarPool -eq "pool02.contoso.net"} | Move-CsUser -Target "pool01.contoso.net"