Set-MailboxCalendarSettings

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

上次修改主題的時間: 2012-01-19

使用 Set-MailboxCalendarSettings 指令程式,可對信箱啟用行事曆處理。

語法

Set-MailboxCalendarSettings -Identity <MailboxIdParameter> [-AddAdditionalResponse <$true | $false>] [-AdditionalResponse <String>] [-AddNewRequestsTentatively <$true | $false>] [-AddOrganizerToSubject <$true | $false>] [-AllBookInPolicy <$true | $false>] [-AllowConflicts <$true | $false>] [-AllowRecurringMeetings <$true | $false>] [-AllRequestInPolicy <$true | $false>] [-AllRequestOutOfPolicy <$true | $false>] [-AutomateProcessing <None | AutoUpdate | AutoAccept>] [-BookingWindowInDays <Int32>] [-BookInPolicy <RecipientIdParameter[]>] [-Confirm [<SwitchParameter>]] [-ConflictPercentageAllowed <Int32>] [-DefaultReminderTime <Int32>] [-DeleteAttachments <$true | $false>] [-DeleteComments <$true | $false>] [-DeleteNonCalendarItems <$true | $false>] [-DeleteSubject <$true | $false>] [-DisableReminders <$true | $false>] [-DomainController <Fqdn>] [-EnableResponseDetails <$true | $false>] [-EnforceSchedulingHorizon <$true | $false>] [-ForwardRequestsToDelegates <$true | $false>] [-IgnoreDefaultScope <SwitchParameter>] [-MaximumConflictInstances <Int32>] [-MaximumDurationInMinutes <Int32>] [-OrganizerInfo <$true | $false>] [-ProcessExternalMeetingMessages <$true | $false>] [-RemoveForwardedMeetingNotifications <$true | $false>] [-RemoveOldMeetingMessages <$true | $false>] [-RemovePrivateProperty <$true | $false>] [-RequestInPolicy <RecipientIdParameter[]>] [-RequestOutOfPolicy <RecipientIdParameter[]>] [-ResourceDelegates <RecipientIdParameter[]>] [-ScheduleOnlyDuringWorkHours <$true | $false>] [-TentativePendingApproval <$true | $false>] [-UseRusServer <String>] [-WhatIf [<SwitchParameter>]]

Set-MailboxCalendarSettings [-AddAdditionalResponse <$true | $false>] [-AdditionalResponse <String>] [-AddNewRequestsTentatively <$true | $false>] [-AddOrganizerToSubject <$true | $false>] [-AllBookInPolicy <$true | $false>] [-AllowConflicts <$true | $false>] [-AllowRecurringMeetings <$true | $false>] [-AllRequestInPolicy <$true | $false>] [-AllRequestOutOfPolicy <$true | $false>] [-AutomateProcessing <None | AutoUpdate | AutoAccept>] [-BookingWindowInDays <Int32>] [-BookInPolicy <RecipientIdParameter[]>] [-Confirm [<SwitchParameter>]] [-ConflictPercentageAllowed <Int32>] [-DefaultReminderTime <Int32>] [-DeleteAttachments <$true | $false>] [-DeleteComments <$true | $false>] [-DeleteNonCalendarItems <$true | $false>] [-DeleteSubject <$true | $false>] [-DisableReminders <$true | $false>] [-DomainController <Fqdn>] [-EnableResponseDetails <$true | $false>] [-EnforceSchedulingHorizon <$true | $false>] [-ForwardRequestsToDelegates <$true | $false>] [-IgnoreDefaultScope <SwitchParameter>] [-Instance <ADUser>] [-MaximumConflictInstances <Int32>] [-MaximumDurationInMinutes <Int32>] [-OrganizerInfo <$true | $false>] [-ProcessExternalMeetingMessages <$true | $false>] [-RemoveForwardedMeetingNotifications <$true | $false>] [-RemoveOldMeetingMessages <$true | $false>] [-RemovePrivateProperty <$true | $false>] [-RequestInPolicy <RecipientIdParameter[]>] [-RequestOutOfPolicy <RecipientIdParameter[]>] [-ResourceDelegates <RecipientIdParameter[]>] [-ScheduleOnlyDuringWorkHours <$true | $false>] [-TentativePendingApproval <$true | $false>] [-UseRusServer <String>] [-WhatIf [<SwitchParameter>]]

詳細描述

使用 Set-MailboxCalendarSettings 指令程式,可讓您對信箱啟用行事曆處理。您可以設定自動資源預約或行事曆服務員處理的參數。

若要執行 Set-MailboxCalendarSettings 指令程式,必須對您使用的帳戶委派下列項目:

  • Exchange 組織系統管理員角色

如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

Identity

必要

Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter

Identity 參數可指定信箱的識別碼。

AddAdditionalResponse

選用

System.Boolean

AddAdditionalResponse 參數可指定回應會議邀請時,是否要從資源信箱中傳送其他資訊。

除非將 AutomateProcessing 參數設為 AutoAccept,否則會忽略此參數。

AdditionalResponse

選用

System.String

使用 AdditionalResponse 參數,指定要納入會議邀請回應的其他資訊。

AddNewRequestsTentatively

選用

System.Boolean

AddNewRequestsTentatively 參數設為 $true,讓行事曆服務員在行事曆上暫置新的行事曆項目。若 AddNewRequestsTentatively 參數設為 $false,則行事曆服務員只會更新現有的行事曆項目。

AddOrganizerToSubject

選用

System.Boolean

使用 AddOrganizerToSubject 參數,指定是否要將會議召集人的名稱用作會議邀請的主旨。

除非將 AutomateProcessing 參數設為 AutoAccept,否則會忽略此參數。

AllBookInPolicy

選用

System.Boolean

使用 AllBookInPolicy 參數,指定是否要自動核准所有使用者符合原則的要求。

AllowConflicts

選用

System.Boolean

使用 AllowConflicts 參數,指定是否允許互相衝突的會議邀請。

AllowRecurringMeetings

選用

System.Boolean

使用 AllowRecurringMeetings 參數,指定是否允許週期性會議。

AllRequestInPolicy

選用

System.Boolean

使用 AllRequestInPolicy 參數,指定是否允許所有使用者提交符合原則的要求。

除非將 AllBookInPolicy 參數設為 $true,否則這些要求只限由資源信箱代理人核准。

AllRequestOutOfPolicy

選用

System.Boolean

使用 AllRequestOutOfPolicy 參數,指定是否允許所有使用者提交違反原則的要求。

違反原則的要求只限由資源信箱代理人核准。

AutomateProcessing

選用

Microsoft.Exchange.Data.Storage.CalendarProcessingFlags

使用 AutomateProcessing 參數,啟用或停用信箱上的行事曆處理。

若將此參數設為 None,將在信箱上同時停用資源預約及行事曆服務員。若設為 AutoUpdate,行事曆服務員將會處理會議邀請與回應。若將此參數設為 AutoAccept,將在信箱上啟用資源預約。

BookingWindowInDays

選用

System.Int32

使用 BookingWindowInDays 參數,指定允許預約會議的天數。

BookInPolicy

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

使用 BookInPolicy 參數,指定允許將符合原則的會議邀請提交至資源信箱的使用者清單。這些使用者提交的任何符合原則的會議邀請將會自動獲得核准。

Confirm

選用

System.Management.Automation.SwitchParameter

Confirm 參數會使得命令暫停處理,並要求確認命令將進行的動作之後才會繼續處理。您不需要為 Confirm 參數指定任何值。

ConflictPercentageAllowed

選用

System.Int32

使用 ConflictPercentageAllowed 參數,對週期性會議設定衝突百分比閾值。若週期性會議與其他會議發生衝突的執行個體百分比超過此數值,便會拒絕週期性會議邀請。

DefaultReminderTime

選用

System.Int32

使用 DefaultReminderTime 參數,對會議邀請指定預設提醒時間。

DeleteAttachments

選用

System.Boolean

DeleteAttachments 參數設為 $true,可移除所有內送郵件中的附件。

除非將 AutomateProcessing 參數設為 AutoAccept,否則會忽略此參數。

DeleteComments

選用

System.Boolean

使用 DeleteComments 參數,可移除會議邀請內送郵件內文中的任何文字。

除非將 AutomateProcessing 參數設為 AutoAccept,否則會忽略此參數。

DeleteNonCalendarItems

選用

System.Boolean

DeleteNonCalendarItems 參數設為 $true,可移除信箱所接受的所有非行事曆項目。

DeleteSubject

選用

System.Boolean

使用 DeleteSubject 參數,移除內送會議邀請的主旨。

除非將 AutomateProcessing 參數設為 AutoAccept,否則會忽略此參數。

DisableReminders

選用

System.Boolean

使用 DisableReminders 參數,指定您是否要對信箱中的會議停用提醒。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定從 Active Directory 目錄服務擷取資料之網域控制站的網域全名 (FQDN),請在命令中加入 DomainController 參數。

EnableResponseDetails

選用

System.Boolean

EnableResponseDetails 參數設為 $true,在回應電子郵件中納入接受或拒絕會議的原因。

EnforceSchedulingHorizon

選用

System.Boolean

使用 EnforceSchedulingHorizon 參數,指定是否要拒絕結束日期超出了預約範圍的週期性會議。

ForwardRequestsToDelegates

選用

System.Boolean

使用 ForwardRequestsToDelegates 參數,指定是否要將內送會議邀請轉寄至針對信箱定義的代理人。

IgnoreDefaultScope

選用

System.Management.Automation.SwitchParameter

IgnoreDefaultScope 參數會指示命令略過 Exchange 管理命令介面的預設收件者範圍設定,並以整個樹系作為範圍。如此可讓命令存取目前不在預設範圍內的 Active Directory 物件。使用 IgnoreDefaultScope 參數會產生下列限制:

  • 您無法使用 DomainController 參數。此命令會自動使用適當的通用類別目錄伺服器。
  • 您只可以針對 Identity 參數使用 DN。不接受其他形式的識別碼 (如別名或 GUID)。

Instance

選用

Microsoft.Exchange.Data.Directory.Recipient.ADUser

Instance 參數可讓您將整個物件傳遞至要處理的命令。它主要是用於必須將整個物件傳遞至該命令的指令碼。

MaximumConflictInstances

選用

System.Int32

使用 MaximumConflictInstances 參數,設定週期性會議所允許的最大衝突數。若週期性會議發生衝突的執行個體數目超過此數值,便會拒絕週期性會議邀請。

MaximumDurationInMinutes

選用

System.Int32

使用 MaximumDurationInMinutes 參數,指定內送會議邀請所允許的最大持續時間。

OrganizerInfo

選用

System.Boolean

OrganizerInfo 參數設為 $true,當資源信箱因為發生衝突而拒絕會議邀請時,便會傳送召集人資訊。

ProcessExternalMeetingMessages

選用

System.Boolean

使用 ProcessExternalMeetingMessages 參數,指定是否要處理來自 Exchange 組織外的會議邀請。

RemoveForwardedMeetingNotifications

選用

System.Boolean

RemoveForwardedMeetingNotifications 參數設為 $true,當會議轉寄的通知由行事曆服務員處理完之後,便會移至 [刪除的郵件] 資料夾中。

RemoveOldMeetingMessages

選用

System.Boolean

RemoveOldMeetingMessages 參數設為 $true,行事曆服務員便會移除舊的與多餘的更新與回應。

RemovePrivateProperty

選用

System.Boolean

RemovePrivateProperty 參數設為 $true,可清除內送會議邀請的私人標幟。

RequestInPolicy

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

使用 RequestInPolicy 參數,指定允許將符合原則的會議邀請提交至資源信箱的使用者清單。這些使用者提交的符合原則的會議邀請只限由資源信箱代理人核准。

RequestOutOfPolicy

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

使用 RequestOutOfPolicy 參數,指定允許提交違反原則要求的使用者清單。

違反原則的要求只限由資源信箱代理人核准。

ResourceDelegates

選用

Microsoft.Exchange.Configuration.Tasks.RecipientIdParameter[]

使用 ResourceDelegates 參數可指定作為資源信箱代理人的使用者清單。資源信箱代理人可核準或拒絕傳送給此資源信箱的邀請。

ScheduleOnlyDuringWorkHours

選用

System.Boolean

使用 ScheduleOnlyDuringWorkHours 參數,指定是否允許在工作作業時數以外排定會議。

TentativePendingApproval

選用

System.Boolean

TentativePendingApproval 參數設為 $true,於行事曆上將擱置的邀請標示為暫置。若設為 $false,擱置的邀請便會標示為空閒。

UseRusServer

選用

System.String

note附註:
只有在 Exchange 2007 SP2 中才能使用此參數。

UseRusServer 參數會指示此命令,使用通訊清單服務執行所在的指定信箱伺服器來取得並設定信箱及 Active Directory 使用者屬性。

通訊清單服務是 Exchange System Attendant 服務的一個元件。通訊清單服務會在 Active Directory 中建立並維護 Exchange 的特定屬性。您可以使用特定資訊 (如通訊清單成員資格與電子郵件地址),透過通訊清單服務來更新網域中的收件者物件。

WhatIf

選用

System.Management.Automation.SwitchParameter

WhatIf 參數指示命令模擬它將對物件採取的動作。使用 WhatIf 參數,則不需要套用任何變更,就能檢視變更。您不需要為 WhatIf 參數指定任何值。

輸入類型

傳回類型

錯誤

錯誤 描述

例外狀況

例外狀況 描述

範例

此範例會將「五樓會議室」信箱設定為自動接受會議邀請。這也會以會議召集人的名稱取代會議邀請的主旨行。

Set-MailboxCalendarSettings -Identity "5th Floor Conference Room" -AutomateProcessing AutoAccept -AddOrganizerToSubject $true -DeleteSubject $true

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.