MVPs are "independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others." - Overview, mvp.microsoft.com

How to Trigger an AAD Connect Sync from a Remote Computer

If you use AAD Connect to synchronize on-premises Active Directory with Azure AD, you may find it more convenient to trigger an AAD sync from a remote domain-joined computer or server. I frequently do this when I make a change to an on-prem AD object from my Windows 10 workstation or Exchange server. Remote PowerShell to the rescue!

Copy the following Sync-AAD.ps1 script to your Windows path (I put it in C:Windows) on the computer or server where you want to run it.
$AADComputer = ((Get-ADUser -Filter ‘Name -like “AAD_*”‘ -Properties Description).Description).split(” “)[13].trim(“.”) + “.” + (Get-WmiObject win32_computersystem).Domain
$session = New-PSSession