Set-LMNewUserMessage
Syntax
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
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: StringParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-MessageSubject
Specifies the subject line of the message template.
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-ProgressAction
Fill ProgressAction Description
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept 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.