Get-LMCollectorDebugResult
Syntax
Section titled “Syntax”Get-LMCollectorDebugResult -SessionId <Int32> -Id <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]Get-LMCollectorDebugResult -SessionId <Int32> -Name <String> [-ProgressAction <ActionPreference>] [<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”-SessionId
Section titled “-SessionId”The ID of the debug session to retrieve results from. This parameter is mandatory.
Type: Int32Parameter Sets: (All)Aliases:
Required: TruePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: FalseThe ID of the collector to retrieve debug results for. This parameter is mandatory when using the Id parameter set.
Type: Int32Parameter Sets: IdAliases:
Required: TruePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: FalseThe name of the collector to retrieve debug results for. This parameter is mandatory when using the Name parameter set.
Type: StringParameter Sets: NameAliases:
Required: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Section titled “Inputs”None. You cannot pipe objects to this command.
Section titled “None. You cannot pipe objects to this command.”Outputs
Section titled “Outputs”Returns the debug output for the specified collector debug session.
Section titled “Returns the debug output for the specified collector debug session.”You must run Connect-LMAccount before running this command.