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

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

Syntax

New-CMExchangeServerConnectorAccessRule
   -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

Specifies the type of access for the mobile device. The acceptable values for this parameter are:- Allow

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

Specifies the device type of the mobile device. The acceptable values for this parameter are:- DeviceModel

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

Specifies a name for the access rule.

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

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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