Configuring Business-Hour Collections

Business-hour schedules can be created in advance, and reused across multiple workflows. Defining business-hour collections is a task that can be performed only via the Lync Server Management Shell. Use the New-CsRgsTimeRange cmdlet to create each unique new time range, and store it in a variable that can be passed to a business-hours collection object later. Times should be defined using a 24-hour format.

$Weekdays = New-CsRgsTimeRange -Name <Name of Time Range> -OpenTime <Time when business hours start> -CloseTime <Time when business hours end>

After a unique variable has been created for each different set of hours, the business hours collection object can be created with the New-CsRgsHoursOfBusiness

Get Microsoft® Lync® Server 2013 Unleashed Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.