New-CMExchangeServerConnectorAccessRule

SYNOPSIS

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

SYNTAX

New-CMExchangeServerConnectorAccessRule -RuleName <String> -AccessLevel <AccessLevelType> -Device <DeviceType>
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<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.

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: (All)
Aliases: 
Accepted values: Allow, Block, Quarantine
Required: True
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: (All)
Aliases: 
Accepted values: DeviceType, DeviceModel
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RuleName

Specifies a name for the access rule.

Type: String
Parameter Sets: (All)
Aliases: 
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

New-CMExchangeServerConnectorApplicationSetting

New-CMExchangeServerConnectorEmailManagementSetting

New-CMExchangeServerConnectorPasswordSetting

New-CMExchangeServerConnectorSecuritySetting