https://www.sharepointgems.com/2020/10/retrieve-all-users-from-site-collection-using-powershell/
Retrieve all users from Site Collection using PowerShell