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)

相关文章: