Skip to content

Get-LMDiagnosticRemediationModule

Terminal window
Get-LMDiagnosticRemediationModule [[-ResourceId] <int>] [[-AlertId] <string>]
[[-ModuleType] <string>] [<CommonParameters>]

The Get-LMDiagnosticRemediationModule function lists diagnostic and remediation exchange modules assigned to a resource or alert.

Terminal window
Get-LMDiagnosticRemediationModule -AlertId "DS12345"
Terminal window
Get-LMDiagnosticRemediationModule -ResourceId 123 -ModuleType remediation

The alert ID to list assigned modules for.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

Filter by module type. Valid values: diagnostic, remediation.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The resource (device) ID to list assigned modules for.

Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.