work hours
Is there a PowerShell cmdlet that will let me set the work hours for resources/rooms?
thanks
June 7th, 2010 12:01pm
Which Exchange version are you running?Martin Sundstrm | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator | http://msundis.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 12:29pm
Exchange 2007 sp1
Thanks
June 7th, 2010 12:35pm
Ok, to set the actual work hours you have to use owa. Then you can configure the mailbox to only accept bookings during work hours in owa as well or with the following command:
Set-MailboxCalendarSettings -Identity <mailboxidentity> -ScheduleOnlyDuringWorkHours $trueMartin Sundstrm | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator | http://msundis.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 2:18pm
Thought so, not very useful if you have over 300 meeting rooms.
June 7th, 2010 3:01pm
Nope, not usefull at all. It's better in Exchange 2010, then you can change the settings using powershell...
Martin Sundström | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator | http://msundis.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 9:34pm
Ok, to set the actual work hours you have to use owa. Then you can configure the mailbox to only accept bookings during work hours in owa as well or with the following command:
Set-MailboxCalendarSettings -Identity <mailboxidentity> -ScheduleOnlyDuringWorkHours $true
Martin Sundström | Microsoft Certified Trainer | MCITP: Enterprise Messaging Administrator | http://msundis.wordpress.com
For Outlook client, the Working hours configuration is saved in following registry key on the client:
HKCU\Software\Microsoft\Office\12.0\Outlook\Options\Calendar
CalDefEnd
CalDefStart
For OWA client, the Working hours configuration is saved in a hide message in Calendar folder, you can use MFCMapi to check the configuration:
1. Run MFCMapi tool and logon the user mailbox (Online Mode)
2. Open mailbox and expand Root Container and Top of Information Store
3. Right click the Calendar folder and click Open Associated Contents Table
4. Click the message which subject is IPM.Configuration.WorkHours
5. Open the property 0x7C080102 which contains the Work Hours setting.
According to Martin's advice, you also could make a script to bulk set the work hours the in PowerShell.
ThanksYour expertise never fails to impress :)
June 8th, 2010 10:25am