Get-LMCollectorDebugResult
Syntax
Section titled “Syntax”Get-LMCollectorDebugResult -SessionId <int> -Id <int> [<CommonParameters>]Get-LMCollectorDebugResult -SessionId <int> -Name <string> [<CommonParameters>]Description
Section titled “Description”The Get-LMCollectorDebugResult function retrieves the debug output for a specified collector debug session. It requires both a session ID and either a collector ID or name to identify the specific debug results to retrieve.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Retrieve debug results using collector IDGet-LMCollectorDebugResult -SessionId 12345 -Id 67890EXAMPLE 2
Section titled “EXAMPLE 2”#Retrieve debug results using collector nameGet-LMCollectorDebugResult -SessionId 12345 -Name "Collector1"Parameters
Section titled “Parameters”The ID of the collector to retrieve debug results for. This parameter is mandatory when using the Id parameter set.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: Id Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The name of the collector to retrieve debug results for. This parameter is mandatory when using the Name parameter set.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-SessionId
Section titled “-SessionId”The ID of the debug session to retrieve results from. This parameter is mandatory.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.