Topic Last Modified: 2014-02-04

Exports data from an existing Response Group application configuration. This data, saved as a .ZIP file, can later be imported using the Import-CsRgsConfiguration cmdlet. The ability to export and import Response Group configuration data is particularly useful disaster recovery scenarios. This cmdlet was introduced in Lync Server 2013.

Syntax

Export-CsRgsConfiguration -FileName <String> -Source <RgsIdentity> [-Force <SwitchParameter>] [-Owner <RgsIdentity>] [-RemoveExportedConfiguration <SwitchParameter>]

Examples

Example 1

The command shown in Example 1 exports the Response Group configuration settings from the pool atl-rgs-001.litwareinc.com to a file with the path C:\Exports\Rgs.zip.

Copy Code
Export-CsRgsConfiguration -Source "ApplicationServer:atl-rgs-001.litwareinc.com" -FileName "C:\Exports\Rgs.zip"

Detailed Description

The Export-CsRgsConfiguration cmdlet and the Import-CsRgsConfiguration cmdlet enable you to export data about your current implementation of the Response Group application (including such things as workflows, queues, agent groups, holiday sets and business hours, as well as audio files and service configuration settings) and then later import (or re-import) that information. This can be extremely useful in a disaster recovery scenario (for example, in a case where the server hosting the Response Group application has failed) or if you simply need to transfer the Response Group application to a different pool.

Note that the Export-CsRgsConfiguration cmdlet and the Import-CsRgsConfiguration cmdlet are designed to work only with Lync Server 2013. If you want to migrate Response Group data from Microsoft Lync Server 2010 to Lync Server 2013, you should use the Move-CsRgsConfiguration cmdlet instead.

To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell command-line interface prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Export-CsRgsConfiguration"}

Lync Server Control Panel: The functions carried out by the Export-CsRgsConfiguration cmdlet are not available in the Lync Server Control Panel.

Parameters

Parameter Required Type Description

FileName

Required

System.String

Path to the .ZIP file to be created when you run the Export-CsRgsConfiguration cmdlet. For example:

-FileName "C:\Exports\RgsConfig.zip"

Note that your command will fail if this file already exists.

Source

Required

Microsoft.Rtc.Rgs.Management.RgsIdentity

Identity of the Response Group instance whose configuration settings are being exported. For example:

-Source "ApplicationServer:atl-rgs-001.litwareinc.com"

Force

Optional

System.Management.Automation.SwitchParameter

Suppresses the display of any non-fatal error message that might arise when running the command.

Owner

Optional

Microsoft.Rtc.Rgs.Management.RgsIdentity

If specified, configuration information for all the Response Group instances found on the designated pool will be exported. For example:

-Owner "atl-rgs-001.litwareinc.com"

RemoveExportedConfiguration

Optional

System.Management.Automation.SwitchParameter

When specified, the Response Group instance will be deleted after the configuration information has been exported.

Input Types

None. The Export-CsRgsConfiguration cmdlet does not accept pipelined input.

Return Types

The Export-CsRgsConfiguration cmdlet creates compressed files with the .ZIP file extension.

See Also