Hi @Sheshank Dhoot ,
maybe this is helpful:
https://learn.microsoft.com/en-us/services-hub/health/remediation-steps-ad/regularly-check-for-and-remove-inactive-user-accounts-in-active-directory
https://blog.ipswitch.com/find-inactive-user-accounts-in-your-domain
https://blog.netwrix.com/2017/06/15/powershell-find-disabled-or-inactive-users-and-computers-in-ad/
https://gist.github.com/9to5IT/c40cea3937c33a1632c749916612dd7c
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten