Forum Discussion

Joe Stocker's avatar
Joe Stocker
Bronze Contributor
Jan 05, 2018
Solved

Bulk Change Conference Toll Number?

Can you use powershell to change existing users' default conference bridge?   we have several hundred users who were assigned a toll number for 415 area code and we want to change all existing us...
  • Ben Donaldson's avatar
    Ben Donaldson
    Jan 07, 2018

    Ah spot on, thanks Michael.

     

    So Joe, based on what Michael's bought to the table there, you can use the below to update users conferencing numbers in bulk, where XXXXXXXX is the existing number, and YYYYYYYY is the number you want to replace it with.

     

    get-CsOnlineDialInConferencingUser | Where-Object {$_.servicenumber -eq XXXXXXXX} | %{Set-CsOnlineDialInConferencingUser -identity $_.sipaddress.substring(4) -ServiceNumber YYYYYYYY}

     

    You might want to run just the GET part of the command on its own first to ensure it pulls back the expected users for you. I've tested this and it works fine.

Resources