Last active
July 28, 2016 16:51
-
-
Save jmaddington/987c3e52989ed3cad598b537abf0cb15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 20160728 | |
# jm@jmaddington.com | |
# | |
# Short script to force AD Azure sync | |
# | |
# https://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnectsync-feature-scheduler/ | |
# | |
# See latest at https://gist.github.com/jmaddington/987c3e52989ed3cad598b537abf0cb15 | |
Import-Module ADSync | |
Start-ADSyncSyncCycle -PolicyType Delta | |
Write-Host "Press any key to continue ..." | |
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") | |
Write-Host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment