How to create a new Farm Administrator via PowerShell

Today I needed to create a new Farm Administrator and I tried to figured out how to do that simply using PowerShell, aside from creating the user in the directory service, of course. Here is a complete script to gain the result: ———————————————————————————————- Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue # Creates a new Farm Administrator $newFarmAdministrator = […]

Read more