Import-LMRepositoryLogicModule
Syntax
Section titled “Syntax”__AllParameterSets
Section titled “__AllParameterSets”Import-LMRepositoryLogicModule [-Type] <string> [-LogicModuleNames] <string[]> [<CommonParameters>]Description
Section titled “Description”The Import-LMRepositoryLogicModule function imports specified logic modules from the LogicMonitor repository into your portal.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”#Import specific datasourcesImport-LMRepositoryLogicModule -Type "datasources" -LogicModuleNames "DataSource1", "DataSource2"Parameters
Section titled “Parameters”-LogicModuleNames
Section titled “-LogicModuleNames”An array of logic module names to import.
Type: System.String[]DefaultValue: ''SupportsWildcards: falseAliases:- NameParameterSets:- Name: (All) Position: 1 IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: true ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The type of logic modules to import. Valid values are “datasources”, “propertyrules”, “eventsources”, “topologysources”, “configsources”.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: 0 IsRequired: true 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.