Export (0) Print
Expand All
Expand Minimize

Remove-CMExchangeServer

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Remove-CMExchangeServer

Removes an Exchange Server object from Configuration Manager.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Remove-CMExchangeServer -Address <String> -SiteCode <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Remove-CMExchangeServer cmdlet removes a Microsoft Exchange Server object from Microsoft System Center 2012 Configuration Manager for one or more System Center 2012 Configuration Manager sites. This cmdlet does not uninstall the Exchange Server.

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?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Removes the Exchange Server object without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.


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?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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: Remove an Exchange Server

This command removes the Exchange Server with the specified address for the site code PE1.


PS C:\> Remove-CMExchangeServer -Address "http://localhost/PowerShell" -SiteCode "PE1"

Related topics

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