Script to Remove AD Removed/Disabled Down-Level devices in AAD
Windows 7/8.1 devices do not synchronize device state to Azure AD for Hybrid-Registered devices that are removed or disabled on-premises. This works for Windows 10, through AD Connect (when synchronizing the correct OUs), but is not supported for down-level.This PowerShell module