question

JT-6932 avatar image
0 Votes"
JT-6932 asked JimmyYang-MSFT answered

Decommission and Uninstall Lync 2013 Server

I need to uninstall Lync 2013 servers from our environment. Looking at the following document,

https://social.technet.microsoft.com/wiki/contents/articles/29088.lync-20102013-step-by-step-server-decommissioning.aspx

Does any of the remove command delete any actual user mailbox, AD accounts?

Does it remove SIP address from AD user's Exchange 2016 mailbox? (we need to keep this)

Get-CSuser | Disable-CSuser
Get-CsExUmContact -Filter {RegistrarPool -eq "<LyncServerPoolFqdn>"} | Remove-CsExUmContact
Get-CsRgsWorkflow -Identity:Service:ApplicationServer:<LyncServerPoolFqdn> | Remove-CsRgsWorkflow
Get-CsDialInConferencingAccessNumber | where {$_.Pool -eq "<LyncServerPoolFqdn>"} | Remove- CsDialInConferencingAccessNumber
Set-CsPstnGateway -Identity "PstnGateway:<Xds Identity of PSTN Gateway>" -MediationServer:"MediationServer: <Name of Mediation Server Identity>" << not sure what this would be

office-lync-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered

Hi @JT-6932

Does any of the remove command delete any actual user mailbox, AD accounts?

No, the following commands in your description do not delete the AD accounts and any actual user mailbox. It just disable the users in Skype for Business Server. If you need to delete AD users in your environment, you should run the command "Remove-ADUsers".

Does it remove SIP address from AD user's Exchange 2016 mailbox? (we need to keep this)

No, the command do not remove SIP address from AD user's Exchange 2016 mailbox.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.