Skip to content

Conversation

@stevevillardi
Copy link
Collaborator

  • New cmdlet for removing device group properties
  • Fix linq regex for config filtering
  • Add properties method to device datasource instance cmdlet

- New cmdlet for removing device group properties
- Fix linq regex for config filtering
- Add properties method to device datasource instance cmdlet
@stevevillardi
Copy link
Collaborator Author

6.5 Release notes

Module Updates/Changes

  • Set-LMDeviceDatasourceInstance: Added -PropertiesMethod parameter to control property update behavior. Defaults to "Replace" to match other property-related cmdlets.
  • Copy-LMDashboard: Added -DashboardTokens parameter (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 -Schedule parameter that accepts a PSCustomObject to define scan scheduling. Maintains default manual scheduling when parameter is omitted.
#Copies the dashboard named "Old Dashboard" to a new dashboard named "New Dashboard" in the group named "Group A", replacing the tokens "defaultResourceName" with "Value1" and "defaultResourceGroup" with "Value2".
Copy-LMDashboard -Name "New Dashboard" -DashboardName "Old Dashboard" -ParentGroupName "Group A" -DashboardTokens @{ "defaultResourceName" = "Value1"; "defaultResourceGroup" = "Value2" }

#Gets an existing resource inventory report, updates the included properties, and clones the report based on the modified report object.
$ReportObject = Get-LMReport -id 7
$ReportObject.properties = @("system.hostname","location","system.ips")
Copy-LMReport -Name "Inventory Report" -Description "This is a sample report" -ParentGroupId "12345" -ReportObject $ReportObject

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.

@stevevillardi stevevillardi reopened this Dec 12, 2024
@stevevillardi stevevillardi merged commit ada4e94 into main Dec 12, 2024
@stevevillardi stevevillardi deleted the develop branch December 12, 2024 19:59
@stevevillardi stevevillardi restored the develop branch April 16, 2025 16:09
@stevevillardi stevevillardi deleted the develop branch October 31, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants