Not applicable

Hi All,

I'm trying to is create a new call answering rule, which will forward all calls directly to the voicemail (no options presented to the caller) when they call after hours. Obviously I will need to set the -TimeOfDay and -KeyMappings parameters correctly to do this, but I haven't been able to find any documentation on the values that can be applied to these parameters.


Through trial and error, on another rule, I found that the -TimeOfDay value of "3,32,08:00,17:00" will apply the policy to all calls arriving on Friday between 8am and 5pm. I'm hoping that someone can point me in the right direction for what values in this parameter - and also the -KeyMappings parameter - translate to when the UMCallAnsweringRule cmdlets are run.


Thanks in advance


If you look at the documentation (, you will find examples on how they use -TimeOfDay. Seems like you are on the right track.

By what I can tell from the documentation, there will be no options presented to the caller if you don't set a -KeyMappings. -KeyMappings default to $null.
best response

Hi all,

I asked this question in the social.technet forums as well. Received a very good answer, see below: