Skip to content

Set-NtfsCompliantGroupName

SYNOPSIS

Ensure an Active Directory group name and description comply with NTFS naming conventions.

SYNTAX

Set-NtfsCompliantGroupName [-group] <String> [<CommonParameters>]

DESCRIPTION

This function checks and updates an Active Directory group's name and description to comply with NTFS naming conventions. It validates the group's UNC path, retrieves security information from the NTFS database if necessary, and renames the group and updates its description if they are not compliant.

EXAMPLES

EXAMPLE 1

Set-NtfsCompliantGroupName -group "OldGroupName"

Validates and updates the name and description of the "OldGroupName" group to comply with NTFS naming conventions.

EXAMPLE 2

Set-NtfsCompliantGroupName -group "Finance_Read"

Ensures the "Finance_Read" group has a compliant name and description based on NTFS standards.

PARAMETERS

-group

The name of the Active Directory group to validate and update.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept 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

OUTPUTS

NOTES