manual start user profile import

Thanks Trevor,

Finally created the task scheduled with this command:

Sync Incremental

Add-PsSnapin Microsoft.SharePoint.PowerShell
$UPS= Get-SPServiceApplication | where { $_.DisplayName -eq “User Profile Service Application”}
$UPS.StartImport($false)

 

And, create another task scheduler for Full Synchronization with this command:

Sync FULL

Add-PsSnapin Microsoft.SharePoint.PowerShell
$UPS= Get-SPServiceApplication | where { $_.DisplayName -eq “User Profile Service Application”}
$UPS.StartImport($true)
posted @ 2016-06-17 09:49  Jason.Bird  阅读(187)  评论(0编辑  收藏  举报