-
Notifications
You must be signed in to change notification settings - Fork 6
Description
The Problem
The Logic.Monitor PowerShell module (v7.7.4) currently provides no way to control the "Enable" checkbox for a DataSource applied to a Device Group.
I can read the property (stopMonitoring) using Get-LMDeviceGroupDatasourceList.
There is no corresponding parameter on Set-LMDeviceGroupDatasourceAlertSetting (e.g., -StopMonitoring).
There is no dedicated Set-LMDeviceGroupDatasource cmdlet.
The Get-LMDeviceGroupDatasourceList cmdlet returns a blank/null value for the essential id field. This prevents users from constructing a manual API PATCH request, which is required to fix this gap.
Requested Fix
Please add support for setting the stopMonitoring property by implementing one of the following:
New Cmdlet: Add a dedicated Set-LMDeviceGroupDatasource cmdlet.
Add Parameter: Add the -StopMonitoring parameter to Set-LMDeviceGroupDatasourceAlertSetting.
Thank you for all the time and effort you've pumped into this module. I use it almost everyday and it keeps getting better with each update!