Stop-DtcDiagnosticResourceManager
Stop-DtcDiagnosticResourceManager
Stops and removes a diagnostic Resource Manager job.
Sintassi
Parameter Set: ParameterSetInstance
Stop-DtcDiagnosticResourceManager [[-Job] <DtcDiagnosticResourceManagerJob> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
Parameter Set: ParameterSetInstanceId
Stop-DtcDiagnosticResourceManager [[-InstanceId] <Guid> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
Parameter Set: ParameterSetName
Stop-DtcDiagnosticResourceManager [[-Name] <String> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
Descrizione dettagliata
The Stop-DtcDiagnosticResourceManager cmdlet stops and removes a DiagnosticResourceManagerJob that runs as a Windows PowerShell® background job. To stop the default Resource Manager, you must explicitly specify the name of the default Resource Manager.
Parametri
-InformationAction<System.Management.Automation.ActionPreference>
Alias |
infa |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-InformationVariable<System.String>
Alias |
iv |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-InstanceId<Guid>
Specifies the DtcDiagResourceManagerJob instance ID to stop.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
1 |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Job<DtcDiagnosticResourceManagerJob>
Specifies the DtcDiagResourceManagerJob instance to stop. This parameter accepts pipeline input.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
1 |
Valore predefinito |
none |
Accetta input da pipeline? |
True (ByValue) |
Accetta caratteri jolly? |
false |
-Name<String>
Specifies a name of the diagnostic resource manager to stop.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
1 |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Esempi
Example 1: Stop a diagnostic resource manager
This command stops the DTC diagnostic resource manager named testRM.
PS C:\> Stop-DtcDiagnosticResourceManager -Name "testRM"