PowerShell scripts to Create personal site
 $site=Get-SPSite "https://mysitesp2013.x.com";  $serviceContext = Get-SPServiceContext -Site $site  $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($serviceContext)  $testuser = $userProfileConfigManager.GetUserProfile("domain\user")  $testuser.PersonalSiteInstantiationState  $testuser.CreatePersonalSite()  
Comments
Post a Comment