Configuring Holiday Sets

Much as with business-hour collections, Lync administrators can create a holiday set to define the appropriate holiday schedule for a business. A holiday set can also be created only using the Lync Server Management Shell.

The first step in defining a holiday set is to create a unique variable for each holiday, which defines a name, a start date, and an end date. After all the holidays are stored in a variable, they can be added to a holiday set. To create a holiday and store it in a variable, follow this syntax:

$Christmas = New-CsRgsHoliday -Name <Holiday Name> -StartDate <Date formatted as dd/mm/yyyy> -EndDate <Date formatted as dd/mm/yyyy>

After repeating the previous step to create each of the holiday objects, use the following syntax to create the holiday object. Naming the object based on the year usually makes the most sense because some holidays might fall on different days depending on the year. To configure a new holiday set, use the following cmdlet:

New-CsRgsHolidaySet -Parent ApplicationServer:<Front End Pool FQDN> -Name <Holiday Set Name> -HolidayList (<Comma-separated list of each variable representing a holiday>)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset