Set-LMWebsiteGroup
Syntax
Section titled “Syntax”Id-ParentGroupId (Default)
Section titled “Id-ParentGroupId (Default)”Set-LMWebsiteGroup -Id <string> [-NewName <string>] [-Description <string>] [-Properties <hashtable>] [-PropertiesMethod <string>] [-DisableAlerting <bool>] [-StopMonitoring <bool>] [-ParentGroupId <int>] [-WhatIf] [-Confirm] [<CommonParameters>]Id-ParentGroupName
Section titled “Id-ParentGroupName”Set-LMWebsiteGroup -Id <string> [-NewName <string>] [-Description <string>] [-Properties <hashtable>] [-PropertiesMethod <string>] [-DisableAlerting <bool>] [-StopMonitoring <bool>] [-ParentGroupName <string>] [-WhatIf] [-Confirm] [<CommonParameters>]Name-ParentGroupName
Section titled “Name-ParentGroupName”Set-LMWebsiteGroup -Name <string> [-NewName <string>] [-Description <string>] [-Properties <hashtable>] [-PropertiesMethod <string>] [-DisableAlerting <bool>] [-StopMonitoring <bool>] [-ParentGroupName <string>] [-WhatIf] [-Confirm] [<CommonParameters>]Name-ParentGroupId
Section titled “Name-ParentGroupId”Set-LMWebsiteGroup -Name <string> [-NewName <string>] [-Description <string>] [-Properties <hashtable>] [-PropertiesMethod <string>] [-DisableAlerting <bool>] [-StopMonitoring <bool>] [-ParentGroupId <int>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Section titled “Description”The Set-LMWebsiteGroup function modifies an existing website group in LogicMonitor.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Set-LMWebsiteGroup -Id 123 -NewName "Updated Group" -Description "New description" -ParentGroupId 456Updates the website group with new name, description, and parent group.
Parameters
Section titled “Parameters”-Confirm
Section titled “-Confirm”Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- cfParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Description
Section titled “-Description”Specifies the description for the website group.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-DisableAlerting
Section titled “-DisableAlerting”Indicates whether to disable alerting for the website group.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''Specifies the ID of the website group to modify.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Id-ParentGroupName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: true ValueFromRemainingArguments: false- Name: Id-ParentGroupId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: true ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''Specifies the current name of the website group.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-ParentGroupName Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Name-ParentGroupId Position: Named IsRequired: true ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-NewName
Section titled “-NewName”Specifies the new name for the website group.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-ParentGroupId
Section titled “-ParentGroupId”Specifies the ID of the parent group.
Type: System.Nullable`1[System.Int32]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-ParentGroupId Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-ParentGroupId Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-ParentGroupName
Section titled “-ParentGroupName”Specifies the name of the parent group.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name-ParentGroupName Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: false- Name: Id-ParentGroupName Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-Properties
Section titled “-Properties”Specifies a hashtable of custom properties for the website group.
Type: System.Collections.HashtableDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-PropertiesMethod
Section titled “-PropertiesMethod”Specifies how to handle properties. Valid values: “Add”, “Replace”, “Refresh”.
Type: System.StringDefaultValue: ReplaceSupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-StopMonitoring
Section titled “-StopMonitoring”Indicates whether to stop monitoring the website group.
Type: System.Nullable`1[System.Boolean]DefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-WhatIf
Section titled “-WhatIf”Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameterDefaultValue: ''SupportsWildcards: falseAliases:- wiParameterSets:- Name: (All) Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.