Add an additional Sharepoint Admin to every Site Collection via Powershell

If a new SharePoint Administrator joined, you normally grant him SharePoint Administrator access. However that didn´t mean he is able to open every website collection. To fix that issue you can use the script below.

The script will add the new SharePoint Administrator as an additional site collection administrator to every website collection. Simply run the script inside a SharePoint PowerShell via: .\AddAdditionalSiteCollectionAdministrator_v1.ps1 contoso\SharepintAdmin2 http://sharepoint.int.contoso.com

# =========================================================================================================================## ------------- Do not change anything behind that line ! ----------------------------#