Get-LMRepositoryLogicModule
Syntax
Section titled “Syntax”__AllParameterSets
Section titled “__AllParameterSets”Get-LMRepositoryLogicModule [[-Type] <string>] [<CommonParameters>]Description
Section titled “Description”The Get-LMRepositoryLogicModule 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
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Retrieve all datasource modulesGet-LMRepositoryLogicModuleEXAMPLE 2
Section titled “EXAMPLE 2”#Retrieve all event source modulesGet-LMRepositoryLogicModule -Type "eventsource"Parameters
Section titled “Parameters”The type of LogicModule to retrieve. Valid values are “datasource”, “propertyrules”, “eventsource”, “topologysource”, “configsource”. Defaults to “datasource”.
Type: System.StringDefaultValue: datasourceSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 0 IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.