It will take parameters for number of days, weeks, months, or years that you want to go back in time. It will take that and pull all devices that have not logged into AD since that time and remove them from AD and SCCM. There is also a parameter for search base, which is the OU of AD that you want to look in. It includes all of the same help items as well.

Active Directory
Mastering Azure AD Connect – A Comprehensive Guide
Modern businesses are fast moving toward cloud-based infrastructure. In fact, cloud-based business is not just a trend anymore but a strategic necessity. Microsoft’s Azure Active Directory (Azure AD) has become a frontrunner in this domain. It