Set-LMNormalizedProperty
Syntax
Section titled “Syntax”Set-LMNormalizedProperty -Alias <String> [-Add] -Properties <Array> [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]Remove
Section titled “Remove”Set-LMNormalizedProperty -Alias <String> [-Remove] -Properties <Array> [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”The Set-LMNormalizedProperty cmdlet updates 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
Section titled “Examples”Example 1
Section titled “Example 1”Set-LMNormalizedProperty -Add -Alias "location" -Properties @("location", "snmp.sysLocation", "auto.meraki.location")Updates a normalized property with alias "location" to include the new properties.Example 2
Section titled “Example 2”Set-LMNormalizedProperty -Remove -Alias "location" -Properties @("auto.meraki.location")Removes the "auto.meraki.location" property from the "location" alias.Parameters
Section titled “Parameters”-Alias
Section titled “-Alias”The alias name for the normalized property.
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseIndicates that properties should be added to the existing normalized property.
Type: SwitchParameterParameter Sets: AddAliases:
Required: TruePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-Remove
Section titled “-Remove”Indicates that properties should be removed from the existing normalized property.
Type: SwitchParameterParameter Sets: RemoveAliases:
Required: TruePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-Properties
Section titled “-Properties”An array of host property names to map to the alias.
Type: ArrayParameter Sets: (All)Aliases:
Required: TruePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-WhatIf
Section titled “-WhatIf”Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameterParameter Sets: (All)Aliases: wi
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-Confirm
Section titled “-Confirm”Prompts you for confirmation before running the cmdlet.
Type: SwitchParameterParameter Sets: (All)Aliases: cf
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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
Section titled “Inputs”Outputs
Section titled “Outputs”Returns a message indicating the success of the operation.
Section titled “Returns a message indicating the success of the operation.”This function requires a valid LogicMonitor API authentication and uses API v4.