AzureADConnectSync.ps1
<#PSScriptInfo
.VERSION 1.0.0 .GUID 46240b62-74f7-47b4-98a6-3a492945bbf5 .DESCRIPTION Azure AD Connect Sync: Use this script to run azure ad connect from azure automation account, Please test before using it in production .AUTHOR Amarnath Rajendran .Company Tech Genius .TAGS Azure AAD ADConnect SYNc #> param ( [Parameter(Mandatory=$true)] [string] $SyncType) If ($SyncType="Delta") {Start-ADSyncSyncCycle -PolicyType Delta } Else { Start-ADSyncSyncCycle -PolicyType Initial } |