New-CMExchangeConnectorApplicationSetting

Create application-related settings for a mobile device that uses a Exchange Server connector.

Syntax

New-CMExchangeConnectorApplicationSetting
   [-BlockedApplication <String[]>]
   [-UnsignedApplication <Boolean>]
   [-UnsignedInstall <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The New-CMExchangeConnectorApplicationSetting cmdlet creates application-related settings for a mobile device that uses a Microsoft Exchange Server connector.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Set application options for an Exchange Server connector

This command sets these application options for an Exchange Server connector:

  • Allows the mobile device to install unsigned applications.
  • Blocks unsigned applications from running on the mobile device.
  • Blocks the two applications named a1 and a2 from running.
New-CMExchangeConnectorApplicationSetting -UnsignedApplication $False -UnsignedInstall $True -BlockedApplication "a1","a2"

Parameters

-BlockedApplication

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

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-UnsignedApplication

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

-UnsignedInstall

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

Inputs

None

Outputs

Microsoft.ConfigurationManagement.PowerShell.Cmdlets.HS.ExchangeConnectorApplicationSetting

Notes

Cmdlet aliases: New-CMExchangeServerConnectorApplicationSetting