During a customer workshop, we developed a few neat AAD Connect tools. Here are some of them, they could be the base for your own tools:

If you see nothing above, your computer might blocked the Gist content. You might then want to take a look here (the real source).

With Azure Active Directory (AAD) connect you can synchronise an On-Premises Active Directory with the Microsoft Cloud.

And like most modern Microsoft Tool it have great PowerShell support. Something Microsoft started a while ago.