(Optional) Define Response Group Holiday Sets
Topic Last Modified: 2012-11-01
Holiday settings define the days that a response group is closed for business and specify the action to take on those days. A holiday set is the collection of holidays that apply to a response group.
|If a workflow is defined as a Managed workflow, then any user is assigned the CsResponseGroupManager role can set and modify holidays for workflows that they manage.|
Log on as a member of the RTCUniversalServerAdmins group, or as a member of one of the predefined administrative roles that support Response Group.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
For each holiday you want to define, run:
$x = New-CsRgsHoliday [-Name <holiday name>] -StartDate <starting date of holiday> -EndDate <ending date of holiday>
To create the holiday set that contains the holidays you defined, run:
New-CsRgsHolidaySet -Parent <service where the workflow is hosted> -Name <unique name for holiday set> -HolidayList <one or more holidays to be included in the holiday set>
The following example shows a holiday set that includes two holidays:
$a = New-CsRgsHoliday -Name "New Year's Day" -StartDate "1/1/2013" -EndDate "1/1/2013" $b = New-CsRgsHoliday -Name "Independence Day" -StartDate "7/4/2013" -EndDate "7/4/2013" New-CsRgsHolidaySet -Parent "ApplicationServer:Redmond.contoso.com -Name "2013 Holidays" -HolidayList ($a $b)