Contents tagged with site
-
Sharepoint Set Site Collection Administrator with Powershell
$siteCollectionUrl = "<my site>"$site =new-object Microsoft.SharePoint.SPSite($siteCollectionUrl)$web = $site.RootWeb$primarAdministrator = $web.EnsureUser("domain\sp_admin")$site.Owner = $ … more