Just like backing up the CMS, the restore process is performed with Lync Server Command Shell cmdlets. If you are looking to simply restore a known good configuration, use the Import-CsConfiguration and Import-CsLisConfiguration cmdlets. However, if the CMS is offline permanently or you simply want to move the CMS to a different pool, use the Move-CsManagementServer cmdlet.
The Import-CsConfiguration cmdlet imports the Lync Server global configuration from a exported file. There are two syntaxes for the command and both are displayed in the following:
Import-CsConfiguration – Filename <string> [-Force <switchParameters> Export-CsConfiguration –ByteInput <Byte>
The parameters are defined as follows: