< Back
Rename-LocalGroup
Post
NAME Rename-LocalGroup
SYNOPSIS
Rename a local group in the Targeted computername
SYNTAX
Rename-LocalGroup [-Name] <String[]> [-NewName] <String[]> [[-Computername] <String[]>] [<CommonParameters>]
DESCRIPTION
Rename a local group in the Targeted computername
PARAMETERS
-Name <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-NewName <String[]>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Computername <String[]>
Required? false
Position? 3
Default value "$ENV:Computername"
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Int32
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Rename-localgroup -name TestGroup -newname TestGroupName -computername remotepc1
RELATED LINKS
SYNOPSIS
Rename a local group in the Targeted computername
SYNTAX
Rename-LocalGroup [-Name] <String[]> [-NewName] <String[]> [[-Computername] <String[]>] [<CommonParameters>]
DESCRIPTION
Rename a local group in the Targeted computername
PARAMETERS
-Name <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-NewName <String[]>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Computername <String[]>
Required? false
Position? 3
Default value "$ENV:Computername"
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Int32
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Rename-localgroup -name TestGroup -newname TestGroupName -computername remotepc1
RELATED LINKS