Get-LMDeviceGroupGroups
Syntax
Section titled “Syntax”Description
Section titled “Description”The Get-LMDeviceGroupGroups function retrieves all subgroups that belong to a specified device group in LogicMonitor. The parent group can be identified by either ID or name, and the results can be filtered.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”#Retrieve subgroups by parent group IDGet-LMDeviceGroupGroups -Id 123Example 2
Section titled “Example 2”#Retrieve filtered subgroups by parent group nameGet-LMDeviceGroupGroups -Name "Production" -Filter $filterObjectParameters
Section titled “Parameters”CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
Section titled “Inputs”None. You cannot pipe objects to this command.
Section titled “None. You cannot pipe objects to this command.”Outputs
Section titled “Outputs”Returns LogicMonitor.DeviceGroup objects.
Section titled “Returns LogicMonitor.DeviceGroup objects.”You must run Connect-LMAccount before running this command.