I need to rename a big number of Sharepoint Groups. Is there a way to rename a Sharepoint 2010 group programmatically using Powershell?
Have try of the following commands:
$site = Get-SPSite http://yourservername/sites/yoursitecollection
$groups = $site.RootWeb.sitegroups
foreach ($grp in $groups)
if($grp.name -eq "yourgroupname")
"Group: " + $grp.name; //output the new name
TechNet Community Support
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?