external help file | Module Name | online version | schema |
---|---|---|---|
Logic.Monitor-help.xml |
Logic.Monitor |
2.0.0 |
Imports LogicMonitor repository logic modules.
Import-LMRepositoryLogicModules [-Type] <String> [-LogicModuleNames] <String[]>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
The Import-LMRepositoryLogicModules function imports logic modules from the LogicMonitor repository. It requires the user to be logged in and have valid API credentials.
Import-LMRepositoryLogicModules -Type "datasources" -LogicModuleNames "DataSource1", "DataSource2"
Imports the logic modules with the names "DataSource1" and "DataSource2" from the LogicMonitor repository.
Specifies the type of logic modules to import. Valid values are "datasources", "propertyrules", "eventsources", "topologysources", and "configsources".
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the names of the logic modules to import. This parameter accepts an array of strings.
Type: String[]
Parameter Sets: (All)
Aliases: Name
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
{{ 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.