New-CMExchangeServerConnectorEmailManagementSetting

New-CMExchangeServerConnectorEmailManagementSetting

Creates a set of email management settings for a mobile device that uses an Exchange Server connector.

構文

Parameter Set: New
New-CMExchangeServerConnectorEmailManagementSetting -AllowHtmlEmail <Boolean> -ConsumerEmail <Boolean> -EmailAttachmentPolicy <Boolean> -MaximumCalenderAge <MaxCalenderAgeType> {All | OneMonth | SixMonths | ThreeMonths | TwoWeeks} -MaximumEmailAge <MaxEmailAgeType> {All | OneDay | OneMonth | OneWeek | ThreeDays | TwoWeeks} -PushWhenRoaming <Boolean> [-MaximumSizeAttachment <Int32> ] [-MaximumSizeHtmlEmail <Int32> ] [-MaximumSizeTextEmail <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The New-CMExchangeServerConnectorEmailManagementSetting cmdlet creates a set of e-mail management settings for a mobile device that uses an Exchange Server connector.

パラメーター

-AllowHtmlEmail<Boolean>

Indicates whether the mobile devices use HTML for e-mail messages.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ConsumerEmail<Boolean>

Indicates whether to allow consumer email through the connector.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-EmailAttachmentPolicy<Boolean>

Indicates whether the policy allows email attachments.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-MaximumCalenderAge<MaxCalenderAgeType>

Specifies how long a mobile device keeps calendar data. Valid values are:

-- All
-- OneMonth
-- SixMonths
-- ThreeMonths
-- TwoWeeks

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-MaximumEmailAge<MaxEmailAgeType>

Specifies how long a mobile device saves email before the device automatically deletes the mail. Valid values are:

-- OneDay
-- OneMonth
-- OneWeek
-- ThreeDays
-- TwoWeeks

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-MaximumSizeAttachment<Int32>

Specifies the maximum size, in kilobytes (KB), for email attachments.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-MaximumSizeHtmlEmail<Int32>

Specifies the maximum size, in kilobytes, for HTML-formatted email.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-MaximumSizeTextEmail<Int32>

Specifies the maximum size, in kilobytes, for text-formatted email.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-PushWhenRoaming<Boolean>

Indicates whether to push email to roaming clients.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Add email management settings to a mobile device

This command creates the following settings for a mobile device:

-- Saves email data for one day before erasing it.
-- Saves calendar data for three months before erasing it.
-- Allows HTML-formatted email.
-- Sets a maximum size of 401 KB for text-formatted email and of 402 KB for HTML-formatted email.
-- Sets a maximum attachment size of 24 KB.

PS C:\> New-CMExchangeServerConnectorEmailManagementSetting -AllowHtmlEmail $True -ConsumerEmail $True -EmailAttachmentPolicy $True -MaximumCalenderAge ThreeMonths -MaximumEmailAge OneDay -PushWhenRoaming $True -MaximumSizeAttachment 24 -MaximumSizeHtmlEmail 402 -MaximumSizeTextEmail 401

関連トピック

New-CMExchangeServerConnectorAccessRule

New-CMExchangeServerConnectorApplicationSetting

New-CMExchangeServerConnectorGeneralSetting

New-CMExchangeServerConnectorPasswordSetting

New-CMExchangeServerConnectorSecuritySetting