I need to assign a new user as farm administrator on a development machine. I added him to the domain admins AD group, and went to farm admins in central administration and gave added him there. He opens visual studio on that machine and tries to deployed an app, but he can't due to lack of permissions.. he got this error:
The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm
I figured that I need to give him access on sql as well, but is there a command in powershell that lets me add a farm admin and it does all of the work together? or do I need to do all these steps manually?