Remove-DtcClusterTMMapping

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

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

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

Examples

Removing a local DtcClusterTMMapping.

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