Skip to content

Get-LMRepositoryLogicModules

Syntax

Terminal window
Get-LMRepositoryLogicModules [[-Type] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Get-LMRepositoryLogicModules function retrieves LogicModules from the LogicMonitor repository. It supports retrieving different types of modules including datasources, property rules, event sources, topology sources, and config sources.

Examples

Example 1

Terminal window
#Retrieve all datasource modules
Get-LMRepositoryLogicModules

Example 2

Terminal window
#Retrieve all event source modules
Get-LMRepositoryLogicModules -Type "eventsource"

Parameters

-Type

The type of LogicModule to retrieve. Valid values are “datasource”, “propertyrules”, “eventsource”, “topologysource”, “configsource”. Defaults to “datasource”.

Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Datasource
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.RepositoryLogicModules objects.

Notes

You must run Connect-LMAccount before running this command.