How to Get SharePoint Farm Account Password using PowerShell?

Requirement: Had to take over a SharePoint Farm, and we don’t have the Farm Account Password! We needed the credentials of the SharePoint Farm account. Get SharePoint Farm Account Password: SharePoint farm account user name and password can be retrieved with this little trick: Central Admin site uses SharePoint Farm account, So,…

Read more

How to Change a SharePoint Web Application from HTTP to HTTPS?

Requirement:  Enable HTTPS encryption in SharePoint Web Application using SSL certificate. How to Configure HTTPS for SharePoint 2016 web applications? Enabling HTTPS encryption ensures that the communications between users and the SharePoint web site remain secure. This article assumes you have generated CSR and imported the SSL certificate to the IIS. If…

Read more

PowerShell to Inject JavaScript or CSS using Custom Action in SharePoint

Requirement: Inject JavaScript or CSS in SharePoint without editing Master page. PowerShell to Inject JavaScript in SharePoint using Custom Action: Assuming “ga.js” file is already uploaded to Site Assets library, here is the PowerShell for JavaScript injection in SharePoint master page. Insert CSS using Custom Action – PowerShell Similarly, you can insert…

Read more

How to Remove Custom Action in SharePoint using PowerShell?

Requirement:  Remove a Custom Action in SharePoint using PowerShell Delete Custom Action using PowerShell in SharePoint: Here is how to remove custom action in SharePoint 2013 using PowerShell To delete all custom actions from the given scope, simply remove the “Where” class from the script! Let’s make it a re-usable function: Here…

Read more

How to Add a Custom Action in SharePoint using PowerShell?

Requirement: Add Custom Action using PowerShell in SharePoint. PowerShell to Create User Custom Action in SharePoint: Here is the PowerShell to add user custom action – which adds a link to site settings menu and the result of user custom action: Here is my another post to add user custom action in…

Read more

PowerShell: Batch Process Large Lists to Fix “The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.” Error in SharePoint

Problem: When you are working with large lists > 5000 list items, any operation such as: Read/update/delete is controlled by the list view threshold. You get an error message when you try to handle large list items: The attempted operation is prohibited because it exceeds the list view threshold enforced by the…

Read more

Configure Resource Throttling Settings for Large Lists in SharePoint 2016

What is resource throttling in SharePoint? The biggest performance bottleneck in SharePoint sites is caused usually by large lists. If you have 50 simultaneous users on a site and two of them are contributing to large lists, all 50 users will experience very slow performance. Luckily starting from SharePoint 2010, There is…

Read more

How to Secure SharePoint 2016 Central Administration Site from HTTP to HTTPS using SSL Certificate?

Central Administration site is a web application where administration activities are performed for the farm. By default, Central Administration runs on non-secure HTTP. Enabling encryption ensures that the communications between users and the central admin website remain secure. Prerequisite: Of course, You need the SSL certificate! You can use a free domain…

Read more