New-CMExchangeClientAccessServer

New-CMExchangeClientAccessServer

Creates a Client Access server role for an Exchange Server.

Syntax

Parameter Set: NewExchangeClientAccessServer
New-CMExchangeClientAccessServer -ActiveDirectorySiteName <String> -ExchangeClientAccessServerName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The New-CMExchangeClientAccessServer cmdlet creates a Client Access server role for a Microsoft Exchange Server. The Client Access server role accepts connections to Exchange Server from different types of clients. Software clients such as Microsoft Outlook use POP3 or IMAP4 connections to communicate with Exchange Server. Hardware clients, such as mobile devices, use ActiveSync, POP3, or IMAP4 to communicate with Exchange Server.

Parameters

-ActiveDirectorySiteName<String>

Specifies the name of the Active Directory site on which you are installing the Client Access server role.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ExchangeClientAccessServerName<String>

Specifies the name of the Exchange Client Access server that you create.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Create an Exchange Client Access server

This command creates a new Exchange Client Access server named ContosoWestCAS11 and associates it with the Active Directory site named ContosoWestAD01, then places the resulting Exchange Client Access server object in the variable $Ecs.

PS C:\> $Ecs= New-CMExchangeClientAccessServer -ExchangeClientAccessServerName "ContosoWestCAS11" -ActiveDirectorySiteName "ContosoWestAD01"