New-​CM​Exchange​Connector​Access​Rule

Configures access settings for a mobile device that uses a Microsoft Exchange Server connector.

Syntax

New-CMExchangeConnectorAccessRule
   -AccessLevel <AccessLevelType>
   -Device <DeviceType>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -RuleName <String>
   [<CommonParameters>]

Description

The New-CMExchangeServerConnectorAccessRule cmdlet configures access settings for a mobile device that uses a Microsoft Exchange Server connector.

Examples

Example 1: Configure email management settings for a mobile device

PS C:\> New-CMExchangeServerConnectorAccessRule -RuleName "AccessRule01" -AccessLevel Allow -Device DeviceType

This command creates an access rule for a device type named AccessRule01 that has the Allow access level.

Required Parameters

-AccessLevel

{{Fill AccessLevel Description}}

Type:AccessLevelType
Parameter Sets:Allow, Block, Quarantine
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Device

{{Fill Device Description}}

Type:DeviceType
Parameter Sets:DeviceType, DeviceModel
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RuleName

{{Fill RuleName Description}}

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.ExchangeConnectorAccessRule