Added support for LogCollectorGroupId and LogCollectorId.
Set-LMDevice:
Added support for LogCollectorGroupId and LogCollectorId.
Get-LMReport:
Added output format for report objects.
Get-LMDeviceGroup:
Added pipeline processing for Id.
New Cmdlets:
Remove-LMReport:
Delete a specified report by name or id.
Copy-LMDashboard:
Clone a dashboard by specifying an existing dashboard within an LM portal.
Copy-LMReport:
Clone a report by specifying an existing report within an LM portal.
Copy-LMDevice:
Clone a device/resource by specifying an existing device/resource. Note: If the device is assigned masked custom properties, they must be updated after cloning as the values for those properties cannot be retrieved by the LM API.
New Cmdlets Usage Examples:
#Create a new device using device id 123 as a reference
Copy-LMDevice -Name newdevice.example.com -DisplayName newdevice -DeviceObject $(Get-LMDevice -id 123)
#Clone an existing dashboard with id 25 but place it in a different group with a new description
Copy-LMDashboard -Name NewClonedDashboard -DasbhaordId 25 -ParentGroupId 2 -Description "New Cloned Dashboard"
#Clone an existing report with id 75 and change the report group it belongs to
Copy-LMReport -Name NewReport -Description "New Description" -ParentGroupId 3 -ReportObject $(Get-LMReport -Id 75)
5.1
Updated Cmdlets:
New-LMDevice:
Set-LMDevice:
Get-LMReport:
Get-LMDeviceGroup:
New Cmdlets:
Remove-LMReport:
Copy-LMDashboard:
Copy-LMReport:
Copy-LMDevice:
New Cmdlets Usage Examples: