-
Notifications
You must be signed in to change notification settings - Fork 3
Start SdnNetshTrace
Enables netsh tracing based on pre-configured trace providers.
Start-SdnNetshTrace -Role <String> [-OutputDirectory <String>] [-MaxTraceSize <Int32>] [-Capture <String>]
[-Overwrite <String>] [-Correlation <String>] [-Report <String>] [-Providers <String>] [<CommonParameters>]
Start-SdnNetshTrace -Role <String> [-OutputDirectory <String>] [-MaxTraceSize <Int32>] [-Capture <String>]
[-Overwrite <String>] [-Correlation <String>] [-Report <String>] [-Providers <String>]
[-ComputerName <String[]>] [-Credential <PSCredential>] [<CommonParameters>]
{{ Fill in the Description }}
Start-SdnNetshTrace -OutputDirectory "C:\Temp\CSS_SDN" -Capture Yes -Role Server
Start-SdnNetshTrace -ComputerName (Get-SdnInfrastructureInfo -NetworkController 'PREFIX-NC03').Server -Role Server -Credential (Get-Credential)
The specific SDN role of the local or remote computer(s) that tracing is being enabled for.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a specific path and folder in which to save the files.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: "$(Get-WorkingDirectory)\NetworkTraces"
Accept pipeline input: False
Accept wildcard characters: False
Optional. Specifies the maximum size in MB for saved trace files. If unspecified, the default is 1024.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1536
Accept pipeline input: False
Accept wildcard characters: False
Optional. Specifies whether packet capture is enabled in addition to trace events. If unspecified, the default is No.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Yes
Accept pipeline input: False
Accept wildcard characters: False
Optional. Specifies whether this instance of the trace conversion command overwrites files that were rendered from previous trace conversions. If unspecified, the default is Yes.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Yes
Accept pipeline input: False
Accept wildcard characters: False
Optional. Specifies whether related events will be correlated and grouped together. If unspecified, the default is Disabled.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
Optional. Specifies whether a complementing report will be generated in addition to the trace file report. If unspecified, the default is disabled.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: Disabled
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Providers Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: All
Accept pipeline input: False
Accept wildcard characters: False
Type the NetBIOS name, an IP address, or a fully qualified domain name of one or more remote computers.
Type: String[]
Parameter Sets: Remote
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a user account that has permission to perform this action. The default is the current user. Type a user name, such as User01 or Domain01\User01, or enter a PSCredential object generated by the Get-Credential cmdlet. If you type a user name, you're prompted to enter the password.
Type: PSCredential
Parameter Sets: Remote
Aliases:
Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Clear-SdnWorkingDirectory
- Convert-SdnEtwTraceToTxt
- Copy-SdnFileFromComputer
- Copy-SdnFileToComputer
- Debug-SdnFabricInfrastructure
- Disable-SdnRasGatewayTracing
- Enable-SdnRasGatewayTracing
- Enable-SdnVipTrace
- Get-SdnApiEndpoint
- Get-SdnAuditLog
- Get-SdnCertificate
- Get-SdnConfigState
- Get-SdnDiagnosticLogFile
- Get-SdnEventLog
- Get-SdnFabricInfrastructureResult
- Get-SdnGateway
- Get-SdnInfrastructureInfo
- Get-SdnInternalLoadBalancer
- Get-SdnLoadBalancerMux
- Get-SdnModuleConfiguration
- Get-SdnMuxCertificate
- Get-SdnMuxDistributedRouterIP
- Get-SdnMuxState
- Get-SdnMuxStatefulVip
- Get-SdnMuxStatelessVip
- Get-SdnMuxStats
- Get-SdnMuxVip
- Get-SdnMuxVipConfig
- Get-SdnNetAdapterEncapOverheadConfig
- Get-SdnNetAdapterRdmaConfig
- Get-SdnNetworkController
- Get-SdnNetworkControllerClusterInfo
- Get-SdnNetworkControllerNode
- Get-SdnNetworkControllerNodeCertificate
- Get-SdnNetworkControllerRestCertificate
- Get-SdnNetworkControllerState
- Get-SdnNetworkInterfaceOutboundPublicIPAddress
- Get-SdnOvsdbAddressMapping
- Get-SdnOvsdbFirewallRule
- Get-SdnOvsdbGlobalTable
- Get-SdnOvsdbPhysicalPort
- Get-SdnOvsdbRouterTable
- Get-SdnOvsdbUcastMacRemoteTable
- Get-SdnProviderAddress
- Get-SdnPublicIPPoolUsageSummary
- Get-SdnResource
- Get-SdnServer
- Get-SdnServerCertificate
- Get-SdnServiceFabricApplicationHealth
- Get-SdnServiceFabricClusterConfig
- Get-SdnServiceFabricClusterHealth
- Get-SdnServiceFabricClusterManifest
- Get-SdnServiceFabricNode
- Get-SdnServiceFabricPartition
- Get-SdnServiceFabricReplica
- Get-SdnServiceFabricService
- Get-SdnSlbStateInformation
- Get-SdnVfpPortGroup
- Get-SdnVfpPortLayer
- Get-SdnVfpPortRule
- Get-SdnVfpPortState
- Get-SdnVfpVmSwitchPort
- Get-SdnVipConfig
- Get-SdnVMNetworkAdapter
- Get-SdnVMNetworkAdapterPortProfile
- Import-SdnCertificate
- Install-SdnDiagnostics
- Invoke-SdnCommand
- Invoke-SdnGetNetView
- Invoke-SdnResourceDump
- Invoke-SdnServiceFabricCommand
- Move-SdnServiceFabricReplica
- New-SdnCertificate
- New-SdnCertificateRotationConfig
- New-SdnExpressBGPHost
- New-SdnMuxCertificate
- New-SdnNetworkControllerNodeCertificate
- New-SdnNetworkControllerRestCertificate
- New-SdnServerCertificate
- Remove-SdnExpressBGPHost
- Repair-SdnDiagnosticsScheduledTask
- Set-SdnCertificateAcl
- Set-SdnNetworkController
- Set-SdnServiceFabricClusterConfig
- Set-SdnVMNetworkAdapterPortProfile
- Show-SdnVfpPortConfig
- Show-SdnVipState
- Start-SdnCertificateRotation
- Start-SdnDataCollection
- Start-SdnEtwTraceCapture
- Start-SdnMuxCertificateRotation
- Start-SdnNetshTrace
- Start-SdnServerCertificateRotation
- Stop-SdnEtwTraceCapture
- Stop-SdnNetshTrace
- Test-SdnCertificateRotationConfig
- Test-SdnExpressBGP
- Test-SdnProviderAddressConnectivity