Get-CMExchangeServer

Get-CMExchangeServer

Gets a Configuration Manager Exchange Server object.

構文

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

詳細説明

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.

パラメーター

-Address<String>

Specifies a URL for the Exchange Server.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SiteCode<String>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get all nextref_exchange systemsExchange Server

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

PS C:\> Get-CMExchangeServer

Example 2: Get an nextref_exchange for a siteExchange Server

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 "https://localhost/PowerShell"

関連トピック

New-CMExchangeServer

Remove-CMExchangeServer

Set-CMExchangeServer

Sync-CMExchangeServer