Skip to content

Get-LMDeviceDatasourceInstanceAlertRecipient

Terminal window
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceName <String> -Name <String> -InstanceName <String>
-DataPointName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceName <String> -Id <Int32> -InstanceName <String>
-DataPointName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceId <Int32> -Name <String> -InstanceName <String>
-DataPointName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceId <Int32> -Id <Int32> -InstanceName <String>
-DataPointName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

The Get-LMDeviceDatasourceInstanceAlertRecipient function retrieves the alert recipients configured for a specific data point within a device’s datasource instance. It supports identifying the device and datasource by either ID or name.

Terminal window
#Retrieve alert recipients using names
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceName "Ping" -Name "Server01" -InstanceName "Instance01" -DataPointName "PingLossPercent"
Terminal window
#Retrieve alert recipients using IDs
Get-LMDeviceDatasourceInstanceAlertRecipient -DatasourceId 123 -Id 456 -InstanceName "Instance01" -DataPointName "PingLossPercent"

The name of the datasource. Required for Id-dsName and Name-dsName parameter sets.

Type: String
Parameter Sets: Name-dsName, Id-dsName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

The ID of the datasource. Required for Id-dsId and Name-dsId parameter sets.

Type: Int32
Parameter Sets: Name-dsId, Id-dsId
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

The ID of the device. Can be specified using the DeviceId alias. Required for Id-dsId and Id-dsName parameter sets.

Type: Int32
Parameter Sets: Id-dsName, Id-dsId
Aliases: DeviceId
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

The name of the device. Can be specified using the DeviceName alias. Required for Name-dsName and Name-dsId parameter sets.

Type: String
Parameter Sets: Name-dsName, Name-dsId
Aliases: DeviceName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

The name of the datasource instance. This parameter is mandatory.

Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

The name of the data point to retrieve alert recipients for. This parameter is mandatory.

Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Fill ProgressAction Description

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
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.

None. You cannot pipe objects to this command.

Section titled “None. You cannot pipe objects to this command.”

Returns alert recipient configuration objects.

Section titled “Returns alert recipient configuration objects.”

You must run Connect-LMAccount before running this command.