asked on
ASKER
Microsoft Sharepoint is a software platform and family of software products used for collaboration and web publishing combined. These capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence and collaboration. SharePoint has a Microsoft Office-like interface, and it is closely integrated with the Office suite.
TRUSTED BY
ASKER
[System.Reflection.Assembl
$site = New-Object Microsoft.SharePoint.SPSit
$web = $site.OpenWeb()
$groups = $web.sitegroups
$groupowner = $site.RootWeb.AllUsers["Ex
foreach ($grp in $groups){
"Group: " + $grp.name
"Name:" + $grp.Owner.Name
$grp.Owner.Name = $groupowner
$grp.Update()
}
$web.Update()
$site.Dispose()
In doing so, I got the following error:
Exception setting "Name": "The parameter Name cannot be empty or bigger than 255 characters."
This tells me that this variable isn't getting set properly:
$groupowner = $site.RootWeb.AllUsers["Ex
Any thoughts on what I could be doing wrong?