Skip to content

New-LMNormalizedProperties

Syntax

Terminal window
New-LMNormalizedProperties [-Alias] <String> [-Properties] <Array> [-ProgressAction <ActionPreference>]
[<CommonParameters>]

Description

The New-LMNormalizedProperties cmdlet creates normalized properties in LogicMonitor. Normalized properties allow you to map multiple host properties to a single alias that can be used across your environment.

Examples

Example 1

Terminal window
#Creates a normalized property with alias "location" mapped to multiple source properties.
New-LMNormalizedProperties -Alias "location" -Properties @("location", "snmp.sysLocation", "auto.meraki.location")

Parameters

-Alias

The alias name for the normalized property.

Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Properties

An array of host property names to map to the alias.

Type: Array
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
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.NormalizedProperties object.

Notes

You must run Connect-LMAccount before running this command. Reserved for internal use.