< Back

Remove-DtcClusterTMMapping

Tue Jan 29, 2019 10:24 pm

NAME Remove-DtcClusterTMMapping



SYNOPSIS

Removes a cluster DTC mapping.





SYNTAX

Remove-DtcClusterTMMapping [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -All [-Confirm] [-WhatIf] [<CommonParameters>]



Remove-DtcClusterTMMapping [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] -Name <String> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-DtcClusterTMMapping cmdlet removes a cluster Distributed Transaction Coordinator (DTC) mapping. This cmdlet is supported on clustered

computers only.





PARAMETERS

-All <SwitchParameter>

Indicates that this cmdlet deletes all TM mappings.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession

or Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Specifies the mapping name of the TM mapping to delete.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0

is entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running

on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.



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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











Example 1: Remove a local mapping



PS C:\\> Remove-DtcClusterTMMapping -Name "LocalTestAppMapping"

Confirm



Are you sure you want to perform this action?



Removing Tm Mapping will result in the application using default Dtc as its transactions coordinator.



[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Yes



This command removes a local DtcClusterTMMapping object.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317169

Add-DtcClusterTMMapping

Get-DtcClusterTMMapping

Set-DtcClusterTMMapping