New-​CM​Exchange​Connector​Password​Setting

Adds new password settings to a Exchange Server connector in Configuration Manager.

Syntax

New-CMExchangeConnectorPasswordSetting
   [-AllowSimplePassword <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-MaximumIdleTimeMins <Int32>]
   [-MinimumComplexChar <Int32>]
   [-MinimumPasswordLength <Int32>]
   [-PasswordComplexity <PasswordComplexityType>]
   -PasswordEnabled <Boolean>
   [-PasswordExpiration <Int32>]
   [-PasswordHistory <Int32>]
   [-PasswordRecovery <Boolean>]
   [-WipeAfterFailedAttempt <Int32>]
   [<CommonParameters>]

Description

The New-CMExchangeConnectorPasswordSetting cmdlet adds new password settings to a Microsoft Exchange Server connector in Microsoft System Center Configuration Manager. An Exchange Server connector in Configuration Manager manages mobile devices that connect to an on-premise or online Exchange Server by using the Exchange ActiveSync protocol.

Examples

Example 1: Specify password settings for an Exchange Server connector

PS C:\> New-CMExchangeServerConnectorPasswordSetting -PasswordEnabled $True -MinimumPasswordLength 8 -PasswordExpiration 51 -PasswordHistory 21 -WipeAfterFailedAttempt 6 -MaximumIdleTimeMinutes 41 -PasswordComplexity Strong -MinimumComplexChar 3 -AllowSimplePassword $True -PasswordRecovery $True

This command sets these password-related options for an Exchange Server connector:

- Requires the user to set a password on the mobile device.

  • Requires the password to have at least eight characters or digits.
  • Causes the password to expire after 51 days.

  • Requires 21 password changes before the user can reuse an earlier password.

  • Wipes data from the mobile device after six failed attempts to change the password.
  • Allows 41 minutes to elapse before the mobile device locks itself.
  • Requires an alphanumeric password.
  • Allows passwords to be simple.
  • Allows users to recover missing passwords from the mobile device.

Required Parameters

-PasswordEnabled

{{Fill PasswordEnabled Description}}

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

Optional Parameters

-AllowSimplePassword

{{Fill AllowSimplePassword Description}}

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
-MaximumIdleTimeMins

{{Fill MaximumIdleTimeMins Description}}

Type:Int32
Aliases:MaximumIdleTimeMinutes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumComplexChar

{{Fill MinimumComplexChar Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumPasswordLength

{{Fill MinimumPasswordLength Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PasswordComplexity

{{Fill PasswordComplexity Description}}

Type:PasswordComplexityType
Parameter Sets:Pin, Strong
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PasswordExpiration

{{Fill PasswordExpiration Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PasswordHistory

{{Fill PasswordHistory Description}}

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PasswordRecovery

{{Fill PasswordRecovery Description}}

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

{{Fill WipeAfterFailedAttempt Description}}

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

Inputs

None

Outputs

Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.ExchangeConnectorPasswordSetting