Get-LMTopologyMapData
Syntax
Id
Get-LMTopologyMapData -Id <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Name
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
#Retrieve topology map data by IDGet-LMTopologyMapData -Id 123
Example 2
#Retrieve topology map data by nameGet-LMTopologyMapData -Name "Network-Topology"
Parameters
-Id
The ID of the topology map to retrieve data from. Required for Id parameter set.
Type: Int32Parameter Sets: IdAliases:
Required: TruePosition: NamedDefault value: 0Accept pipeline input: FalseAccept wildcard characters: False
-Name
The name of the topology map to retrieve data from. Required for Name parameter set.
Type: StringParameter Sets: NameAliases:
Required: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-ProgressAction
Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept 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.