Looking for a help in getting a PowerShell script to remove SharePoint subsite permissions alone. The groups should exist and users under the groups also. The script should only remove the permission levels assigned to the groups and the users directly added. We need to remove permissions of subsites from different site collections.
Can someone help me with this script please?
Thanks