How to Create Default Groups in SharePoint Site?

Problem:The default SharePoint groups are automatically created when you create a new site collection through SharePoint Web UI. But, when you create SharePoint sites programmatically or with PowerShell (E.g., New-SPSite or New-SPWeb), The default site groups (such as Visitors, Members, Owners) are not created automatically! Default groups creation from UI: You can…

Read more

Installing and Configuring ADFS Integration with SharePoint 2013 – Step by Step Guide

Introduction:Active directory federation services is the solution for extending enterprise identity beyond the corporate firewall. It simplifies sharing identities between trusted partners across organizations. It’s a common requirement in a typical business scenario, users in one organization want to access a secured application/website from another organization. Without ADFS, we’d end-up re-creating user…

Read more

SharePoint 2013 Warm up Scripts using PowerShell

What is “Warmup Scripts” in SharePoint?By default, IIS application pools recycle every night to keep clean memory space –  Every time the IIS Application pool recycles – Asp.net assemblies to be re-compiled to serve the page to the end-user. So, When the recycling occurs during midnight (or when you do manual recycling/IISReset),…

Read more

Save Site as Template in SharePoint using PowerShell

How to save the site as a template in SharePoint 2013? The easiest way to create a standard template for your SharePoint sites is to create a site,  Add-remove content, list, and libraries, and save the site as a template from Site Settings >> Save Site as a template. – Shortcut URL:…

Read more

Create SharePoint Service Accounts in AD using PowerShell

I do a lot of SharePoint deployments nowadays. I use PowerShell scripts to quickly create SharePoint service accounts instead of manually creating them in the Active directory one by one. Run the below PowerShell script from the domain controller (or from Remote Server Administration Tools installed workstation) to create service accounts in…

Read more

Limit Maximum Number of Site Collections in SharePoint Content Database using PowerShell

By default, the maximum number of site collections in a SharePoint 2013 content database is set to 5000, and the warning level will be 2000 as initial configurations. Although technically SharePoint 2013 content database can hold up to 10,000 site collections maximum (2,500 non-Personal site collections and 7,500 Personal Sites, or 10,000…

Read more

“Open with Explorer” Greyed out in SharePoint 2013?

Open with Windows Explorer is Disabled in SharePoint 2013 or SharePoint 2010? Well, Open with Explorer works only in the 32-bit version of Internet Explorer! It may not work on Chrome or Firefox. Solution: To enable Open with explorer, Open your SharePoint 2010 or SharePoint 2013 site with the 32-bit version of…

Read more

How to Check SQL Server Connectivity from SharePoint?

How do I quickly check SQL Server connectivity from the SharePoint server? Well, you can use Telnet. telnet {SQL-Server-Name or IP} 1433 If your SQL Server listens on a different port, change the default port 1433 accordingly. Using PowerShell to test SQL server connectivity:You can also use PowerShell to check if SharePoint…

Read more