Exchange_2010_logo_www.oostdam.infoExchange Server 2010 is a really beautifull product from Microsoft. Ofcourse these kind of products have difficulities of there own, but generally, there functionality is great. With the integration of the Exchange Powershell command line tools, the products took a great step forward, allowing (exchange)administrators lots of (scripting) possibilities and remote control of servers. This serie of articles has been made to share knowledge and provide some basic default scripting, which can be used on a (daily) basis through Exchange Powershell.  It can be an extra value for every organisation as "knowing" and "numbers" can be used to discover (data)trends, excessions and as a basis for decisions and policies. Have fun using powershell for Exchange !

The reason to limit the duration of meetings in a certain shared (room/resource)mailbox:
This exchange powershell line has been made to limit the duration time for appointments in certain shared room mailboxes that some clients of mine are using in their headquarters. It started with the availability for lower managers to reserve the executive boardroom, which is a very nice decorated room by the way, for customer (sales)contacts etc. etc. Now, there's nothing wrong with that, but the CIO's secretary suddenly had trouble reserving the room and I was asked to do something about it. A little investigation learned that some lower managers reserved the room weeks ahead, and that for multiple days in row. Some even reserved the room for a couple of weeks,...  aha,...  So, what should, and can we do about this? Well,.. Christie, the secretary in this case, is really adorable, so,...

The actual solution ( for Exchange 2007 and 2010 ): 
In MS Exchange, a lot of things can be done by using the Exchange Management Shell.
And this is one of them,...  the GUI can not help you with this one...
Lets make Christie happy. Just open the Exchange Powershell cmdlet and type in the following command:

Set-MailboxCalendarsettings {meetingroom name} -MaximumDurationinminutes 1200

This limits the maximum duration of the meetings in the boardroom to 20 hours. ( 1200 minutes = 20 hours )

Now, for the final solution, yes,... you will have to do some more investigation yourself....
The above command will prevent every user from booking a multi day event in the board room.
I ended and closed this issue, with granting Christie to approve meeting requests first... and limited every meeting to a maximum of 240 minutes!

Christie happy,..  and the lower managers where not amused,... ha, ha, ha,...

Tip: Implement this duration limit into your automated script on creating a new meeting room.

Printscreen: not available

Ben OostdamBen Oostdam has been working with Windows systems since 1993. Worked for several companies as a system administrator, and is currently a Senior Support Engineer for a large company in the Netherlands.

Disclaimer: The information contained in this website/article is for general information purposes only. The information is provided as is, by Ben Oostdam and others, and while we endeavour to keep the information up to date and correct, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk. In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website. Through this website you are sometimes able to link to other websites which are not under my control. I have no control over the nature, content and availability of those sites. The inclusion of any links does not necessarily imply a recommendation or endorse the views expressed within them. Every effort is made to keep the website up and running smoothly. However, I take no responsibility for, and will not be liable for, the website being temporarily unavailable due to technical issues beyond our control. All entries in these articles, are my individual opinion, or from co-writers, and they don't necessary reflect the opinion of my employer.


Friday the 7th, May 2021. All rights reserved.. // Oostdam WebDesign