Decommission and Uninstall Lync 2013 Server

JT 31 Reputation points
2022-02-22T21:15:14.86+00:00

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

Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
606 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmyYang-MSFT 49,191 Reputation points Microsoft Vendor
    2022-02-23T02:36:47.12+00:00

    Hi @JT

    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.


    0 comments No comments

0 additional answers

Sort by: Most helpful