my english is not the best. But I hope you can understand me clearly.
To my question:
We have one SharePoint with many different SiteCollections with different users and permissions. Last week was decided that a specially AD-Group should add to all visitor-groups of all SiteCollections. How can I do that with PowerShell?
I am a beginner and tried many codes, but I not get it. Because every group has their own name -> Visitors of [-Name]. How is this implemented?
- One AD-Group shall be a member of each Visitor-Group of each SiteCollection (with different names).
In the best case the code can add exceptions for some SiteCollections. (But thats not a must).
I would be happy if you can help me. Thank you!