I need to uninstall Lync 2013 servers from our environment. Looking at the following document,
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