Releases: logicmonitor/lm-powershell-module
v6.6
6.6
Updated Cmdlets:
-
Get-LMSysOIDMap: Added cmdlet to query and retrieve sysOIDMap details.
-
Export-LMLogicModule: Updated to support the export of appliesToFunctions(functions) and SysOIDMaps(oids).
-
Import-LMLogicModule: Updated to support the import of appliesToFunctions(functions) and SysOIDMaps(oids) exported using Export-LMLogicModule.
-
Set-LMPropertySource: Updated to support tag modification. Use -Tags as an array of tags when updating a propertysource. There is also a -TagsMethod property that allows you to control the behavior when setting tags. Add will add specified tags to the existing list of tags on the module, and Refresh will replace the existing tags with the ones specified in the command. The default behavior is Refresh.
-
Set-LMDataSource: Updated to support tag modification. Use -Tags as an array of tags when updating a datasource. There is also a -TagsMethod property that allows you to control the behavior when setting tags. Add will add specified tags to the existing list of tags on the module, and Refresh will replace the existing tags with the ones specified in the command. The default behavior is Refresh.
-
Set-LMConfigSource: Updated to support tag modification. Use -Tags as an array of tags when updating a configsource. There is also a -TagsMethod property that allows you to control the behavior when setting tags. Add will add specified tags to the existing list of tags on the module, and Refresh will replace the existing tags with the ones specified in the command. The default behavior is Refresh.
#Replace all existing tags with tag1 and tag2
Set-LMDatasource -Id 123 -Tags @("tag1","tag2") -TagsMethod Refresh
#Add tag1 and tag2 to the existing setting of tags
Set-LMDatasource -Id 123 -Tags @("tag1","tag2") -TagsMethod Add
v.6.5.7
6.5.7
Updated Cmdlets:
- Get-LMSysOIDMap: Added cmdlet to query and retrieve sysOIDMap details.
- Get-LMNormalizedProperties: Updated the output object type to make the returned object easier to work with. Returned object now contains the following fields: id,model,alias,hostProperty,hostPropertyPriority,isEditable,isDeletable
- New-LMNormalizedProperties: Updated the output object type to make the returned object easier to work with. Returned object now contains the following fields: id,model,alias,hostProperty,hostPropertyPriority,isEditable,isDeletable
- Set-LMNormalizedProperties: Fixed bug that caused new properties to fail to create.
v6.5.6
6.5.6
New Cmdlets:
-
Set-LMNormalizedProperties: Allows updating of existing normalized properties.
#Add new properties to an existing alias Set-LMNormalizedProperties -Add -Alias "location" -Properties @("location", "snmp.sysLocation", "auto.meraki.location") #Remove a property from existing alias Set-LMNormalizedProperties -Remove -Alias "location" -Properties @("auto.meraki.location")
Updated Cmdlets:
- Get-LMNormalizedProperties: Updated the output object type to make the returned object easier to work with. Returned object now contains the following fields: id,model,alias,hostProperty,hostPropertyPriority,isEditable,isDeletable
Note: These cmdlets are not available to all customers. Currently testing internally until a APIv3 equivalent is released.
v6.5.5
6.5.5
Bug Fixes
- Fixed a bug that prevented the Get-LMAlerts cmdlet from respecting custom -Sort parameters.
- Fixed a bug that prevented setting a prefered log collecor when using Set-LMDevice. Use -EnableLogCollection $true to enable log collection on the device while specifying a preferred log collector using -LogCollectorId.
v6.5.4
- Bug fix with Get-LMLogMessage. Fixed issue with Async queries defaulting to 15minute time range.
v6.5.3
6.5.3
Bug Fixes
- Fixed a bug that prevented the Get-LMDeviceData cmdlet from working when no end date was provided. If no StartDate is provided it will default to 7 days ago. If no EndDate is provided it will default to the current date. (reported by Kenneth L.)
New Cmdlets
- Get-LMLogMessage: Added cmdlet to get log messages.
Note: The Log Message cmdlets are currently only supported for the v4 API and are not supported in the v3 API currently, they are being added to the module as a preview feature for select users until the v3 API is updated to support them in which case the cmdlets will be updated to support the v3 API and available to all users.
v6.5.2
6.5.2
Bug Fixes
- Fixed a bug the prevented certain size json objects from being sent to the LM API due to the default depth of 2 being too small.
New Cmdlets
- New-LMNormalizedProperties: Added cmdlet to create normalized properties.
- Remove-LMNormalizedProperties: Added cmdlet to remove normalized properties.
- Get-LMNormalizedProperties: Added cmdlet to get normalized properties.
Note: The normalized properties cmdlets are currently only supported for the v4 API and are not supported in the v3 API currently,. They are being added to the module as a preview feature for select users until the v3 API is updated to support them in which case the cmdlets will be updated to support the v3 API and available to all users.
v6.5.1
6.5.1
Bug Fixes
- Fixed a bug that caused Informational console logs from being displayed. Cmdlets that previously on output status messages to the console should once again produce output as informational stream data.
v6.5
6.5 Release notes
Module Updates/Changes
- Set-LMDeviceDatasourceInstance: Added
-PropertiesMethodparameter to control property update behavior. Defaults to "Replace" to match other property-related cmdlets. - Copy-LMDashboard: Added
-DashboardTokensparameter (hashtable) to override tokens when cloning dashboards. - Copy-Report: Now accepts a report object as a template for cloning. This enables customization of properties, resource scope, and other parameters before creating the copy.
- New-LMNetScan and Set-LMNetScan: Added
-Scheduleparameter that accepts a PSCustomObject to define scan scheduling. Maintains default manual scheduling when parameter is omitted.
New Cmdlets
- Remove-LMDeviceGroupProperty: Enables removal of device properties at the resource group level.
Bug Fixes
- Set-LMCollectorConfig: Resolved an issue where similar configuration paths could cause unintended multiple updates.
v6.4.1
- Bug fix for Connect-LMAccount. -DisableConsoleLogging was incorrectly getting set when not specified.