locked
Preventing appointments/meeting requests in resource calendar for a specific day RRS feed

  • Question

  • Exchange 2007. Is it possible to modify resource calendar so that it would not accept appointments/meeting requests if the current day is Monday?

    Monday, July 14, 2014 8:44 AM

Answers

All replies

  • Make the room busy all day Monday with a recurring appointment.  Prohibit duplicate appointments.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."


    Monday, July 14, 2014 11:53 PM
  • I was not clear enough. I have a resource calendar where people need to make appointments for every week day.

    If it is Monday and the user tries to make an appointment for any day in future, the resource calendar should not allow the booking.

    If it is Tuesday (or any other day than Monday) and the user tries to make an appointment for any day in future, the resource calendar should allow the booking.

    Tuesday, July 15, 2014 5:02 AM
  • Hi,

    According to your further description, I understand that you want to reject all meeting requests that are sent to a room mailbox on Monday. For other weekdays except for Monday, all meeting requests can be sent to the room mailbox normally. Is it right? If I misunderstand, please point it out.

    Based on my knowledge, there is no feature or rule in Exchange server 2007 to automatically achieve it. Maybe we can create a script to disable the room mailbox and use Task Schedule to run the script on Monday. If so, the room mailbox is disabled on Monday, If you want to try it, we can contact Script Center to achieve it:

    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

    Personal suggestion, I suggest we can set a delegate for this room mailbox to manually manage it then the meeting request sent to this room would be manually declined by the delegate on Monday. To set a delegate for a room mailbox, please refer to:

    http://technet.microsoft.com/en-us/library/bb124973(v=exchg.80).aspx

    Regards,

    Winnie


    Winnie Liang
    TechNet Community Support

    Tuesday, July 15, 2014 7:52 AM
    Moderator
  • Hi Winnie,

    you understood correctly. Your idea about disabling/enabling resource calendar with scheduled tasks seems good. However I have few questions: 

    1.) Is it safe to use this command: Disable-Mailbox john@contoso.com because I do want that the existing calendar entries stay in the calendar.

    2.) Users must be able to view the calendar every day, if I use Disable-Mailbox is it still viewable?



    • Edited by hafka Tuesday, July 15, 2014 11:42 AM
    Tuesday, July 15, 2014 11:41 AM
  • This can be done with power shell and scheduler. If your resource calendar accepts all invitations by default, You can change -AllBookInPolicy to $false.

    Set-MailboxCalendarSettings <resource_calendar> -AllBookInPolicy $false

    More info: 
    http://technet.microsoft.com/en-us/library/aa996340(v=exchg.80).aspx 
    http://help.outlook.com/en-us/140/dd569932.aspx

    And when you want to accept invitations again, just change $false back to $true. 
    And if you need to schedule this, you can create batch files for scheduler to run. 
    More info: http://social.technet.microsoft.com/Forums/exchange/en-US/0cad57bf-1113-4622-aac3-c3278fa97d72/how-to-schedule-a-powershell-script-through-schedule-tasks?forum=exchange2010

    For example:

    disable_autoaccept.cmd:

    PowerShell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V14\Bin\ExShell.psc1"
    -Command ". 'D:\Scripts\disable_autoaccept.ps1.ps1'"

    disable_autoaccept.ps1:

    Set-MailboxCalendarSettings <resource_calendar> -AllBookInPolicy $false


    enable_autoaccept.cmd:

    PowerShell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V14\Bin\ExShell.psc1"
    -Command ". 'D:\Scripts\enable_autoaccept.ps1.ps1'"


    enable_autoaccept.ps1:

    Set-MailboxCalendarSettings <resource_calendar> -AllBookInPolicy $true


    Then create Schedule Tasks that runs .cmd files.

    • Proposed as answer by Arno Pakarinen Friday, July 18, 2014 11:15 AM
    • Unproposed as answer by Arno Pakarinen Friday, July 18, 2014 11:15 AM
    • Marked as answer by hafka Monday, July 21, 2014 4:10 AM
    Friday, July 18, 2014 10:33 AM
  • My answer does that, and it's very easy to implement.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

    Friday, July 18, 2014 9:52 PM