【问题标题】:BookingWindowInDays in Exchange 2013 via Powershell通过 Powershell 在 Exchange 2013 中的 BookingWindowInDays
【发布时间】:2015-02-06 22:27:39
【问题描述】:
我试图弄清楚如何通过 Powershell 在 Exchange 2013 中更改房间(资源邮箱)的“BookingWindowInDays”值。
我没有找到实现此目的的命令,因为 Get-MailboxCalendarSettings 似乎已过时(Exchange 2K3/2K7)。
命令 Get-MailboxCalendarConfiguration 也对我没有帮助。
谁能告诉我什么 powershell 命令可以在 Exchange 2013 上实现这一点?
【问题讨论】:
标签:
powershell-2.0
exchange-server
office365
【解决方案1】:
找到了:
Set-CalendarProcessing -Identity *<room id>* -BookingWindowInDays *<n_days>*
【解决方案2】:
Set-CalendarProcessing -Identity <MailboxIdParameter> -BookingWindowInDays <Int32>
默认 BookingWindowInDays 是 180 天,我将其更改为 1080 天:
Set-CalendarProcessing -Identity "Meeting Room Name" -BookingWindowInDays "1080"