Add/Remove/Copy user permissions with PowerShell
Add powershell cmdlets to add/remove/copy user permissions.
This could be useful, for example, for a user that needs to replace thousands of users due to an AD domain change, it would be useful to be able to use a CSV for all the users
Florent Fourreaux commented
This would be very useful indeed.
I have hundreds of users in a CSV file (extracted for an external system) to put in SharePoint Online... And so it will be very great to have a bulk import feature in ShareGate for such a case (PowerShell or directly through the interface).
Can you share a powershell command to use to replicate/copy permisison of user A to user B in Farm for selected web apps.
Anny Boudreau commented
Add Explicit permissions
Remove Explicit Permissions
Remove from administrators group