Skip to content

Get-LMTopologyMapData

Syntax

Id

Terminal window
Get-LMTopologyMapData -Id <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Name

Terminal window
Get-LMTopologyMapData -Name <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Get-LMTopologyMapData function retrieves the vertex and edge data for a specified topology map in LogicMonitor. The map can be identified by either ID or name.

Examples

Example 1

Terminal window
#Retrieve topology map data by ID
Get-LMTopologyMapData -Id 123

Example 2

Terminal window
#Retrieve topology map data by name
Get-LMTopologyMapData -Name "Network-Topology"

Parameters

-Id

The ID of the topology map to retrieve data from. Required for Id parameter set.

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

-Name

The name of the topology map to retrieve data from. Required for Name parameter set.

Type: String
Parameter Sets: Name
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 LogicMonitor.TopologyMapData objects.

Notes

You must run Connect-LMAccount before running this command.