Lync RGS Holiday Set Editor

Introducing the Lync Server 2010 Response Group Holiday Set Editor!

Lately I’ve been interested in automating Lync administrative tasks that can only be performed with PowerShell. I decided that RGS Holiday Sets would be a good place to start since they can be complex to create and maintain without a basic understanding of PowerShell, variable assignment, and in-memory objects. So, I built a GUI front-end in C# and WinForms to manipulate RGS Holiday Set objects via PowerShell remoting.

 

Lync RGS Holiday Set Editor can be used to create new Holiday Sets and edit existing Holiday Sets for Lync Server 2010 Response Group Workflows using a graphical interface. The application uses Lync PowerShell Remoting via the “ocspowershell” Web Service on Lync Front Ends and can be run from any domain joined computer with .Net 3.5. The application requires local Administrator permissions to import the Lync cmdlets and authenticates with implicit credentials. The user running the application must be logged in with an account that has permission to run the following Lync cmdlets:

  • Get-CsService
  • Get-CsRgsHolidaySet
  • New-CsRgsHolidaySet
  • New-CsRgsHoliday
  • Set-CsRgsHolidaySet
  • Remove-CsRgsHolidaySet

I’m offering this utility to the Lync community, but I do not assume any liability for it’s (mis)use. I have tested it extensively in several Lync 2010 environments but cannot guarantee it is bug free. Please let me know if you experience unexpected behavior.

* CAUTION: This utility will allow you to delete RGS Holiday Sets that are actively in use by a Workflow! The Remove command uses the -Force switch. Doing so does not break the workflow but will remove any holiday routing from the Workflow.

 

Lync RGS Holiday Editor Version History

1.0.4 – 10/19/2011 – Added support for international date/time formats. Thanks to Kay Morten for testing!

1.0.3 – 10/18/2011 – Initial release.

Installation Instructions

Download the ZIP file from the link below and unzip into a temp directory. Run Setup.exe and follow the install wizard prompts. The installer drops an application shortcut into the Start Menu under “Ronco Communications > Lync Holiday Set Editor”.

Lync Holiday Set Editor 1.0.4 Download

Be Sociable, Share!

{ 13 comments… read them below or add one }

Martin December 6, 2011 at 7:53 am

Thanks for your work. Well done.

Trevor December 21, 2011 at 6:59 am

Fantastic, thanks very much.

James January 3, 2012 at 4:30 am

Awesome tool! why Microsoft didn’t include the ability to edit holidays from the GUI is beyond me, the powershell for this is a pain!

Robert Greenlee February 20, 2012 at 11:23 am

Simply awesome. MS should pay you big money for this since they should have done it. Works great.

Jamie Schwinn February 20, 2012 at 11:25 am

Thanks for the kind words Robert!

Tim Day May 3, 2012 at 12:03 pm

Amazing tool used it on a standard edition deployment. Has anyone got it working on an Enterprise deployment? I have 2 FEs in a pool but it wont connect. used the pool name, web services name, FE FQDN names nothing works.

Thanks again for this!

Jamie Schwinn May 3, 2012 at 12:21 pm

Hi Tim,

The tool works by connecting to Lync Remote PowerShell at the specified FQDN. If you’re using Enterprise Edition, the correct URL to use would be the Web Services URL. However, I would think that using individual FE FQDNs would work as well. I will look into this further…

Jamie

Tim Day May 7, 2012 at 12:48 pm

Thanks Jamie, any workaround would be great. i treied everything even localhost and says cant connect.

Matthew Freestone July 3, 2012 at 4:45 pm

This works just fine in Enterprise Edition. You need to put in the pool name, not server names and it works perfectly.

Matthew Freestone July 3, 2012 at 4:46 pm

Also, fantastic app! Absolutely love it! Any chance you could make one for managing business hours as well?

Jamie Schwinn July 16, 2012 at 4:45 pm

Thanks Matthew! I can look into creating something for that, however it’s not a top priority for me since Microsoft already provides a graphical interface for manipulating business hours.

Per Bendixen October 19, 2012 at 6:39 am

Great work :-) :-) :-)

When can we get the update where Business Schedule is included ;-)

Jonathan Christie February 11, 2013 at 4:06 am

Connects and edits lync 2013 holiday sets too

{ 1 trackback }