Skip to content

Set-LMNetscanGroup

Terminal window
Set-LMNetscanGroup [-Id <Int32>] [-NewName <String>] [-Description <String>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Terminal window
Set-LMNetscanGroup [-Name <String>] [-NewName <String>] [-Description <String>]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

The Set-LMNetscanGroup function modifies an existing NetScan group in LogicMonitor.

Terminal window
Set-LMNetscanGroup -Id 123 -NewName "Updated Group" -Description "New description"
Updates the NetScan group with ID 123 with a new name and description.

Specifies the ID of the NetScan group to modify.

Type: Int32
Parameter Sets: Id
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

Specifies the current name of the NetScan group.

Type: String
Parameter Sets: Name
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Specifies the new name for the NetScan group.

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

Specifies the new description for the NetScan group.

Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
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 a LogicMonitor.NetScanGroup object containing the updated group information.

Section titled “Returns a LogicMonitor.NetScanGroup object containing the updated group information.”

This function requires a valid LogicMonitor API authentication.