/gun Command
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

/gun Command

Use /gun to rename a group.

Required Permissions

To use the /gun command, you must be a member of the Team Foundation Administrators security group. For more information, see Team Foundation Server Permissions.

TFSSecurity /gun groupIdentity groupName /server:servername


Argument Description


Specifies the group identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers.


Specifies the new name of the group.

/server :servername

Required. Specifies the name of the application tier server.

Run this command on the local application tier computer.

The following example renames the group "Coho Winery Education" to "Coho Winery Product Support."

>tfssecurity /gun "Coho Winery Education" "Coho Winery Product Support" /server:MyATServer
© 2015 Microsoft