Force directory synchronization using Windows PowerShell

The reason I use this blog at times is to remember the issue I tend to for get and this s one of those commands

You can use the directory synchronization Windows PowerShell cmdlet to force synchronization. The cmdlet is installed when you install the Directory Synchronization tool.

On the computer that is running the Directory Synchronization tool, navigate to the directory synchronization installation folder. By default, it is located here: %programfiles%\Microsoft Online Directory Sync.
so just add the path to your environment variables and you can run DirSyncConfigShell.psc1 to open a Windows PowerShell window with the cmdlets loaded.

Then, type Start-OnlineCoexistenceSync, and then press ENTER.

 

-Ivan

 

One Response to Force directory synchronization using Windows PowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>