Windows Azure Active Directory Sync

From WikiWiki
Revision as of 10:24, 29 April 2014 by Mendel (talk | contribs) (Created page with "== Force DirSync == Open up PowerShell and navigate to "C:\Program Files\Microsoft Online Directory Sync". Then start the Directory Sync Configuration Shell by typing.\Di...")
(change visibility) (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Force DirSync

 Open up PowerShell and navigate to "C:\Program Files\Microsoft Online Directory Sync".  Then start the Directory Sync Configuration Shell by typing.\DirSyncConfigShell.psc1
 Start-OnlineCoexistenceSync
 Invoke-Command -ComputerName "dirsyncserver" -ScriptBlock {C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "C:\Program Files\Microsoft Online Directory Sync\DirSyncConfigShell.psc1" -command "Start-OnlineCoexistenceSync"} -Credential $AdminUsername