Get-CMExchangeServer

SYNOPSIS

Gets a Configuration Manager Exchange Server object.

SYNTAX

Get-CMExchangeServer [-SiteCode <String>] [-ExchangeServerUrl <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

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

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

EXAMPLES

Example 1: Get all Exchange Server systems

PS C:\> Get-CMExchangeServer

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

Example 2: Get an Exchange Server for a site

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

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

Example 3: Get a specified nextref_exchange

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

This command gets the Exchange Server with the specified address.

PARAMETERS

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-ExchangeServerUrl

Type: String
Parameter Sets: (All)
Aliases: Address

Required: False
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
Parameter Sets: (All)
Aliases: 

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

-SiteCode

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

Type: String
Parameter Sets: (All)
Aliases: 

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

CommonParameters

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

INPUTS

OUTPUTS

NOTES

New-CMExchangeServer

Remove-CMExchangeServer

Set-CMExchangeServer

Sync-CMExchangeServer