Counts the number of days since the last Azure Active Directory Connect (AADC) sync. Useful for determining if there is an issue as it should always be <1.
SystemInfo.DirectorySync[?DaysSinceLastSync_r >
0
] | length(@)