Udostępnij za pośrednictwem


Disable-ContinuousReplicationHostName

 

Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Use the Disable-ContinuousReplicationHostName cmdlet to disable a Network Name and IP Address resource that was created using the Enable-ContinuousReplicationHostName cmdlet. These resources will be removed from their dedicated cluster group, and the cluster group will be deleted.

Syntax

Disable-ContinuousReplicationHostName [-Identity <MailboxServerIdParameter>] -HostName <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

Detailed Description

To run the Disable-ContinuousReplicationHostName cmdlet, the account you use must be delegated the Exchange Server Administrator and local Administrator rights on the cluster node. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Parameters

Parameter Required Type Description

HostName

Required

System.String

The HostName parameter specifies the network name that is being disabled on the local node.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter is used to specify the fully qualified domain name (FQDN) of the domain controller that will be used to retrieve data from the directory service.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.MailboxServerIdParameter

The Identity parameter specifies the clustered mailbox server associated with the local node. The local node can be either an active or a passive node.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, you can view what changes would occur without having to apply any of those changes. You do not have to specify a value with the WhatIf parameter.

Input Types

Return Types

Errors

Error Description

The cluster group for network name <Name> was not found.

This error occurs if the name specified by the HostName parameter does not exist. This error can also occur if there is more than one Network Name resource in the cluster group containing the continuous replication host name Network Name resource.

A resource with network name <Name> already exists in group <Group>.

This error indicates that a Network Name resource with the name specified by the HostName parameter already exists. You must use a unique value for the HostName parameter on each node.

Example

The following example shows how to disable a continuous replication host name called NODE2NET for a clustered mailbox server named EXCLUS.

Disable-ContinuousReplicationHostName -Identity EXCLUS -HostName NODE2NET