Set-LMNetscanGroup
Syntax
Id
Set-LMNetscanGroup [-Id <Int32>] [-NewName <String>] [-Description <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Name
Set-LMNetscanGroup [-Name <String>] [-NewName <String>] [-Description <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
The Set-LMNetscanGroup function modifies an existing NetScan group in LogicMonitor.
Examples
Example 1
Set-LMNetscanGroup -Id 123 -NewName "Updated Group" -Description "New description"Updates the NetScan group with ID 123 with a new name and description.
Parameters
-Id
Specifies the ID of the NetScan group to modify.
Type: Int32Parameter Sets: IdAliases:
Required: FalsePosition: NamedDefault value: 0Accept pipeline input: True (ByPropertyName)Accept wildcard characters: False
-Name
Specifies the current name of the NetScan group.
Type: StringParameter Sets: NameAliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-NewName
Specifies the new name for the NetScan group.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False
-Description
Specifies the new description for the NetScan group.
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault 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
You can pipe objects containing Id properties to this function.
Outputs
Returns a LogicMonitor.NetScanGroup object containing the updated group information.
Notes
This function requires a valid LogicMonitor API authentication.