Set-LMOpsNote
Syntax
Section titled “Syntax”Set-LMOpsNote [-Id] <String> [[-Note] <String>] [[-NoteDate] <DateTime>] [[-Tags] <String[]>] [-ClearTags] [[-DeviceGroupIds] <String[]>] [[-WebsiteIds] <String[]>] [[-DeviceIds] <String[]>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”The Set-LMOpsNote function modifies an existing operations note in LogicMonitor.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Set-LMOpsNote -Id 123 -Note "Updated information" -Tags @("maintenance", "planned")Updates the operations note with ID 123 with new content and tags.Parameters
Section titled “Parameters”Specifies the ID of the operations note to modify.
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: FalseSpecifies the new content for the note.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-NoteDate
Section titled “-NoteDate”Specifies the date and time for the note.
Type: DateTimeParameter Sets: (All)Aliases:
Required: FalsePosition: 3Default value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseSpecifies an array of tags to associate with the note.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 4Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-ClearTags
Section titled “-ClearTags”Indicates whether to clear all existing tags.
Type: SwitchParameterParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-DeviceGroupIds
Section titled “-DeviceGroupIds”Specifies an array of device group IDs to associate with the note.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 5Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-WebsiteIds
Section titled “-WebsiteIds”Specifies an array of website IDs to associate with the note.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 6Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-DeviceIds
Section titled “-DeviceIds”Specifies an array of device IDs to associate with the note.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 7Default 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”You can pipe objects containing Id properties to this function.
Section titled “You can pipe objects containing Id properties to this function.”Outputs
Section titled “Outputs”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.