Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

New-CMExchangeServerConnectorEmailManagementSetting

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

New-CMExchangeServerConnectorEmailManagementSetting

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

Syntax

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>]




Detailed Description

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

Parameters

-AllowHtmlEmail<Boolean>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ConsumerEmail<Boolean>

Indicates whether to allow consumer email through the connector.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-EmailAttachmentPolicy<Boolean>

Indicates whether the policy allows email attachments.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumCalenderAge<MaxCalenderAgeType>

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

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumSizeAttachment<Int32>

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumSizeHtmlEmail<Int32>

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumSizeTextEmail<Int32>

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PushWhenRoaming<Boolean>

Indicates whether to push email to roaming clients.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.