Set-NetIntentTracing
Starts or stops ATC tracing sessions on the host.
Set-NetIntentTracing
[-StopTracing]
[[-ComputerName] <String>]
The Set-NetIntentTracing
cmdlet starts or stops ATC tracing sessions on the specified host.
Tracing sessions are useful for diagnosing issues related to network intents by capturing relevant
data.
Set-NetIntentTracing -ComputerName "Server01"
This example starts an ATC tracing session on the computer named Server01
.
Set-NetIntentTracing -StopTracing -ComputerName "Server01"
This example stops an ATC tracing session on the computer named Server01
.
Specifies the name of the computer on which to start or stop the tracing session. If this parameter is not specified, the cmdlet operates on the local computer.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the cmdlet should stop the tracing session instead of starting it.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
[switch] $StopTracing, switch to stop tracing
[string] $ComputerName, target computer name