Skip to content

Set-LMNewUserMessage

Syntax

Terminal window
Set-LMNewUserMessage [-MessageBody] <String> [-MessageSubject] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]

Description

The Set-LMNewUserMessage function modifies the message template that is sent to new users in LogicMonitor.

Examples

Example 1

Terminal window
Set-LMNewUserMessage -MessageBody "Welcome to our monitoring system" -MessageSubject "Welcome to LogicMonitor"
Updates the new user message template with the specified subject and body.

Parameters

-MessageBody

Specifies the body content of the message template.

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

-MessageSubject

Specifies the subject line of the message template.

Type: String
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.

Outputs

Returns the response from the API indicating the success of the update.

Notes

This function requires a valid LogicMonitor API authentication.