New-CMExchangeConnectorSecuritySetting
Configure security options for a Microsoft Exchange Server connector in Configuration Manager.
Syntax
New-CMExchangeConnectorSecuritySetting
[-Bluetooth <BluetoothConnectionType>]
[-Browser <Boolean>]
[-Camera <Boolean>]
[-FileEncrypt <Boolean>]
[-Infrared <Boolean>]
[-RemoteDesktop <Boolean>]
[-StorageCard <Boolean>]
[-StorageCardEncrypt <Boolean>]
[-TextMessage <Boolean>]
[-WifiConnection <Boolean>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Description
The New-CMExchangeConnectorSecuritySetting cmdlet configures security options for a Microsoft Exchange Server connector in Configuration Manager. An Exchange Server connector in Configuration Manager manages mobile devices that connect to an on-premises or online Exchange Server by using the Exchange ActiveSync protocol.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started .
Examples
This command sets the following security options for a mobile device:
Enables the camera.
Disables Bluetooth, infrared communications, file encryption on storage cards, and text messaging.
Allows the mobile device to connect to the internet only when the device is in hands-free mode.
PS XYZ:\> New-CMExchangeConnectorSecuritySetting -RemoteDesktop $True -StorageCard $True -Camera $True -Bluetooth $False -WiFiConnection HandsfreeOnly -Infra $False -Browser $False -StorageCardEncrypt $False -FileEncrypt $False -TextMessage $False
Parameters
-Bluetooth
Type: BluetoothConnectionType
Accepted values: Disable, HandsfreeOnly, Allow
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Browser
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Camera
Type: Boolean
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
-FileEncrypt
Type: Boolean
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
-Infrared
Type: Boolean
Aliases: Infra
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-RemoteDesktop
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-StorageCard
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-StorageCardEncrypt
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-TextMessage
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-WifiConnection
Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
None
Outputs
Microsoft.ConfigurationManagement.PowerShell.Cmdlets.HS.ExchangeConnectorSecuritySetting
Notes
Cmdlet aliases: New-CMExchangeServerConnectorSecuritySetting