Use following scripts:
This script adds a user or group to the Site Collection Administrators Group of every Site Collection of a Web Application. Define your parameters in line 1 and line 2.
or
This script adds a user or group to the Site Collection Administrators Group of every Site Collection Farm-wide. Define your User or Group in line 2.
Tuesday, January 16, 2018
Home
Permissions
PowerShell
SharePoint
SharePoint 2013
SharePoint 2016
Tipps & Tricks
Add a user or group to site collection administrators group of every site collection - via powershell
Add a user or group to site collection administrators group of every site collection - via powershell
Tags
# Permissions
# PowerShell
# SharePoint
# SharePoint 2013
# SharePoint 2016
# Tipps & Tricks
About Unknown
I'm a SharePoint and Collaboration Engineer working in the finance industry in Switzerland. The purpose of this blog is to maintain information, scripts and links which I spent too much time searching for.
Tipps & Tricks
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment