locked
Move multiple users to a different pool using Power Shell RRS feed

  • Question

  • Hi All,

      I need to move around 60 users to a new pool and using control panel is just very long winded. Could you please provide some pointers on how I can achieve the same using power shell?

      I am a newbie who is trying to learn as I work so any examples would be greatly appreciated.

    Thanks, 

     

    Wednesday, January 3, 2018 4:20 PM

Answers

  • How are you planning to group the 60 users (CSV, AD Group, AD Attribute)?

    An example to move all users in the migrate AD Group:

    Get-ADGroup “Migrate” | Get-ADGroupMember -Recursive | ForEach-Object {Move-CsUser $_.SamAccountName -MoveConferenceData -Target “New Pool FQDN” -Confirm:$false}

    CSV file example:

    Import-Csv moveusers.csv -Header Identity | Foreach-Object {Move-CsUser -Identity $_.identity -MoveConferenceData -Target “New Pool FQDN” -Confirm:$false }


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Skype Validator - Used to assist in the validation and documentation of Skype for Business/Lync Server.

    • Proposed as answer by Alice-Wang Thursday, January 4, 2018 5:08 AM
    • Marked as answer by Netgizmo Friday, November 9, 2018 2:49 PM
    Wednesday, January 3, 2018 4:59 PM

All replies

  • How are you planning to group the 60 users (CSV, AD Group, AD Attribute)?

    An example to move all users in the migrate AD Group:

    Get-ADGroup “Migrate” | Get-ADGroupMember -Recursive | ForEach-Object {Move-CsUser $_.SamAccountName -MoveConferenceData -Target “New Pool FQDN” -Confirm:$false}

    CSV file example:

    Import-Csv moveusers.csv -Header Identity | Foreach-Object {Move-CsUser -Identity $_.identity -MoveConferenceData -Target “New Pool FQDN” -Confirm:$false }


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Skype Validator - Used to assist in the validation and documentation of Skype for Business/Lync Server.

    • Proposed as answer by Alice-Wang Thursday, January 4, 2018 5:08 AM
    • Marked as answer by Netgizmo Friday, November 9, 2018 2:49 PM
    Wednesday, January 3, 2018 4:59 PM
  • Hi Netgizmo,

    Agree with Michael.

    As a supplement, you can try the method in the blog below

    http://www.admin-enclave.com/en/articles/skypeforbusiness/202-move-a-list-from-skype-for-business-users-to-another-pool-via-powershell.html

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    Regards,

    Alice Wang


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    • Proposed as answer by Alice-Wang Friday, January 5, 2018 8:45 AM
    Thursday, January 4, 2018 5:11 AM
  • Hi,

    Are there any update about this issue?


    Regards, 

    Alice Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Edited by Alice-Wang Monday, January 8, 2018 7:56 AM
    • Proposed as answer by Alice-Wang Tuesday, January 9, 2018 10:00 AM
    Monday, January 8, 2018 7:55 AM