Add UK Bank Holidays to Teams Voice
May 21, 2024 Leave a comment
If you have ever administered a Phone System you will know that one of the most boring tasks you can be asked to do, is program in the new years bank holiday dates. Even today one of the most popular phone systems on the market 3CX it remains a manual task.
With Microsoft Teams Voice you of course benefit from a PowerShell interface to configure your system, and if we combine this with a surprisingly useful part of the gov.uk website we can can programmatically get, and input our bank holiday dates for the year ahead. In fact the current document has dates through to the end of 2026.
To do this we will make use of New-CsOnlineDateTimeRange, New-CsOnlineSchedule and Set-CsOnlineSchedule which are part of the Microsoft Teams PowerShell module.
Read more of this post