O'Reilly logo

Microsoft® Lync® Server 2013 Unleashed Second Edition by Randy Wintle, Alex Lewis, David Ross, Tom Pacyk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required