Skip to content

New-LMDashboardGroup

Syntax

GroupId

Terminal window
New-LMDashboardGroup -Name <String> [-Description <String>] [-WidgetTokens <Hashtable>] -ParentGroupId <Int32>
[-ProgressAction <ActionPreference>] [<CommonParameters>]

GroupName

Terminal window
New-LMDashboardGroup -Name <String> [-Description <String>] [-WidgetTokens <Hashtable>]
-ParentGroupName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The New-LMDashboardGroup function creates a new dashboard group in LogicMonitor. It can be created under a parent group specified by either ID or name.

Examples

Example 1

Terminal window
#Create dashboard group using parent ID
New-LMDashboardGroup -Name "Operations" -Description "Operations dashboards" -ParentGroupId 123

Example 2

Terminal window
#Create dashboard group using parent name
New-LMDashboardGroup -Name "Operations" -Description "Operations dashboards" -ParentGroupName "Root"

Parameters

-Name

The name of the dashboard group. This parameter is mandatory.

Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

The description of the dashboard group.

Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WidgetTokens

A hashtable containing widget tokens for the dashboard group.

Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ParentGroupId

The ID of the parent group. Required for GroupId parameter set.

Type: Int32
Parameter Sets: GroupId
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-ParentGroupName

The name of the parent group. Required for GroupName parameter set.

Type: String
Parameter Sets: GroupName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Fill ProgressAction Description

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

None. You cannot pipe objects to this command.

Outputs

Returns the created dashboard group object.

Notes

You must run Connect-LMAccount before running this command.