Skip to content

Latest commit

 

History

History
129 lines (97 loc) · 2.4 KB

File metadata and controls

129 lines (97 loc) · 2.4 KB
document type external help file HelpUri Locale Module Name ms.date PlatyPS schema version title
cmdlet
linuxtools-Help.xml
en-US
linuxtools
11/09/2025
2024-05-01
Update-LocalGroup

Update-LocalGroup

SYNOPSIS

Update a local group

SYNTAX

__AllParameterSets

Update-LocalGroup [-Name] <string> [[-NewName] <string>] [[-GroupID] <int>] [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Update a local security group with new settings

EXAMPLES

EXAMPLE 1

Update-LocalGroup -Name "mygroup" -NewName "mynewgroup" Updates the local group named "mygroup" with the new name "mynewgroup"

EXAMPLE 2

Update-LocalGroup -Name "mygroup" -GroupID 1001 Updates the local group named "mygroup" with the group ID 1001

PARAMETERS

-GroupID

Optional. New group ID

Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 2
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Name

Name of the group to update

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-NewName

Optional. New name for the group

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.

INPUTS

OUTPUTS

NOTES

RELATED LINKS