Export (0) Print
Expand All
Expand Minimize

Get-CMExchangeServer

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Get-CMExchangeServer

Gets a Configuration Manager Exchange Server object.

Syntax

Parameter Set: SearchBySiteCode
Get-CMExchangeServer [-Address <String> ] [-SiteCode <String> ] [ <CommonParameters>]




Detailed Description

The Get-CMExchangeServer cmdlet gets an object that represents a Microsoft Exchange Server that Microsoft System Center 2012 Configuration Manager uses.

System Center 2012 Configuration Manager works with Exchange Server to manage mobile devices that cannot run System Center 2012 Configuration Manager clients.

Parameters

-Address<String>

Specifies a URL for the Exchange Server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies the site code for a Configuration Manager site associated with the Exchange Server.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

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: Get all Exchange Server systems

This command gets all the Exchange Server items for a System Center 2012 Configuration Manager server.


PS C:\> Get-CMExchangeServer

Example 2: Get an Exchange Server for a site

This command gets an Exchange Server for the site identified by the site code PE1.


PS C:\> Get-CMExchangeServer -SiteCode "PE1"

Example 3: Get a specified Exchange Server

This command gets the Exchange Server with the specified address.


PS C:\> Get-CMExchangeServer -Address "http://localhost/PowerShell"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft