Skip to content

Set-LMOpsNote

Terminal window
Set-LMOpsNote [-Id] <String> [[-Note] <String>] [[-NoteDate] <DateTime>] [[-Tags] <String[]>] [-ClearTags]
[[-DeviceGroupIds] <String[]>] [[-WebsiteIds] <String[]>] [[-DeviceIds] <String[]>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

The Set-LMOpsNote function modifies an existing operations note in LogicMonitor.

Terminal window
Set-LMOpsNote -Id 123 -Note "Updated information" -Tags @("maintenance", "planned")
Updates the operations note with ID 123 with new content and tags.

Specifies the ID of the operations note to modify.

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

Specifies the new content for the note.

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

Specifies the date and time for the note.

Type: DateTime
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Specifies an array of tags to associate with the note.

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

Indicates whether to clear all existing tags.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Specifies an array of device group IDs to associate with the note.

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

Specifies an array of website IDs to associate with the note.

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

Specifies an array of device IDs to associate with the note.

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

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.

You can pipe objects containing Id properties to this function.

Section titled “You can pipe objects containing Id properties to this function.”

Returns the response from the API containing the updated operations note information.

Section titled “Returns the response from the API containing the updated operations note information.”

This function requires a valid LogicMonitor API authentication.