Remove-DtcClusterTMMapping

Applies To: Windows Server 2012 R2 Preview

Remove-DtcClusterTMMapping

Remove-DtcClusterTMMapping is supported only on clustered computers and can be used to remove a Cluster DTC Mapping.

Syntax

Parameter Set: AllParameterSet
Remove-DtcClusterTMMapping -All [ <CommonParameters>]

Parameter Set: MappingNameParameterSet
Remove-DtcClusterTMMapping -Name <String> [ <CommonParameters>]

Detailed Description

Remove-DtcClusterTMMapping is supported only on clustered computers and can be used to remove a Cluster DTC Mapping.

Parameters

-All

If specified, all TM mappings will be deleted.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Mapping Name of the TM Mapping to be deleted.

Aliases

none

Required?

true

Position?

named

Default Value

none

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

Removing a local DtcClusterTMMapping.

PS C:\> Remove-DtcClusterTMMapping -Name "localTestAppMapping" -ExecutablePath "c:\TestApp\App.exe" -ClusterResourceName "DtcResource1" -Local $true