$followedSite = „https://sharepoint/sites/news“$loginName = „roloff“$profile = $upm.GetUserProfile($loginName)$manager = New-Object Microsoft.Office.Server.Social.SPSocialFollowingManager($profile)$actorInfo = New-Object Microsoft.Office.Server.Social.SPSocialActorInfo$actorInfo.ContentUri = $followedSite$actorInfo.ActorType = 2 # SPSocialActorType.Site$manager.Follow($actorInfo)