Using powershell to add an AD group


  • What I need to do is to go through the entire web app looking for where a specific AD group has been used e.g. domain\domain users

    When this is found another AD is added to this site collection/site/library/folder (depending on inheritance).
    So maybe we have server/site/sitename and the members group has domain\domain users, now it will also contain domain\othergroup.

    Later once I am happy it works I can use a script to remove the domain\domain users group entirely.

    So crawl all site collections/sites/libraries looking for where the group is. Note it's permission level and then add the new group and assign it those same permissions

    Friday, March 3, 2017 8:45 PM

All replies