New answers tagged

2

One of my favorite ways to automate repetitive tasks is to use PowerShell + CSOM. The Client Object Model allows me to run my scripts on top of on-prem SharePoint or Office 365 using the exact same code, so I don't have to migrate it in order to make it run in one or the other. Here is an example of how you use the client dll in a PowerShell script to ...


1

Make sure that you are running your code from the server as an administrator. Also replace Localhost with the actual Web Application URL.


0

If the farm administrator has already added to local administrator group and the issue still persist. So you should try to open the Central Administration via Central Administration Link on Start Menu as administrator or as a different user then provide the farm account that has been provided to configure SharePoint via SharePoint Configuration wizard ...



Top 50 recent answers are included