Moving the Response
Group configuration data from one pool to another and restoring it after a
disaster are uncommon but vital scenarios to ensure business continuity.
Although Windows PowerShell command-line interface provides all the pieces to
perform these tasks, it still requires advanced scripting. The Response Group
Export-Import tool simplifies these scenarios. You can download this tool and
other Microsoft Lync Server 2010 communications software Resource Kit tools
from the
Download Center
.
Author : Frédéric Dubut, Tommy Larsson
Publication date : January 2011
Product version
: Microsoft Lync 2010, Microsoft Lync Server
2010, Windows PowerShell
Moving the Response Group configuration data from one pool
to another and restoring it after a disaster are uncommon but vital scenarios
to ensure business continuity. Although Windows PowerShell provides all the
pieces to perform these tasks, it still requires advanced scripting. The
Response Group Export-Import tool simplifies these scenarios. You can download
this tool and other Microsoft Lync Server 2010 Resource Kit tools from the
Download Center
.
Response Group Export-Import is a Windows PowerShell script
that enhances the Lync Server 2010 Management Shell by adding two additional
cmdlets to export the complete Response Group configuration from a given pool
and import this configuration to another (or same) pool.
The Response Group Export-Import script populates the Lync
Server 2010 Management Shell with two new cmdlets:
Export-CsRgsConfiguration
and
Import-CsRgsConfiguration
.
The
Export-CsRgsConfiguration
cmdlet outputs a .zip archive that contains a dump of the Response Group
configuration for a given pool (passed as a parameter).
The
Import-CsRgsConfiguration
cmdlet indicates success or failure when importing the Response Group
configuration that was generated by
Export-CsRgsConfiguration
to a specified pool (passed as a parameter).
The Response Group Export-Import cmdlets can be used in
three scenarios:
Note Export-CsRgsConfiguration
does not
delete the Response Group configuration from the old pool. Because some of the
workflow properties must be unique across the organization (such as SIP URI or
telephone number), Fabrikam will have to clean the Response Group configuration
from the old pool before being able to re-import it to the new pool (by using
the standard
Remove-CsRgsWorkflow
cmdlet, for instance).
The script must be run from a computer that has Lync Server 2010
Management Shell installed.
The
Export-CsRgsConfiguration
cmdlet
requires the two
parameters that are described in Table 1.
Table 1. Export-CsRgsConfiguration
parameters
The Import-CsRgsConfiguration cmdlet requires the two parameters that are described in Table 2.
Table 2.
Import-CsRgsConfiguration parameters
The following is the first command you should run from the
Lync Server 2010 Management Shell to populate the console with the
Export-CsRgsConfiguration
and
Import-CsRgsConfiguration
cmdlets:
Import-Module .\RgsImportExport.ps1
The following command exports the Response Group
configuration for the pool that has the FQDN rtc.fabrikam.com. The
configuration is exported to the file c:\Temp\RgExport.zip:
The following command imports the Response Group
configuration from the file c:\Temp\RgExport.zip to the pool that has the FQDN
rtc.fabrikam.com:
The Response Group Export-Import tool helps make it both
easy and convenient to export and import your Response Group configuration
data.
Keywords
: Response Group,
Windows PowerShell, export, import, backup, back up, restore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.