How to Delete a SharePoint Web Application?

SharePoint Web Applications are actually IIS Containers at the top level. Each web application we create from SharePoint creates a respective site in IIS and a content database in SQL Server. They can be deleted using the Central Administration site or PowerShell. To delete a SharePoint 2016 Web Application, follow these steps:…

Read more

Get All SharePoint Site Collections in a Web Application using PowerShell

How to get all site collections of a web application in SharePoint? All site collections and sites within a web application share the same top-level URL. To get all site collections in a web application from SharePoint central Admin, follow these steps: Get all site collections in web application using PowerShell: Here…

Read more

Get All Web Applications in SharePoint using PowerShell

Web Applications are the top-level containers in SharePoint. Each Web Application we create in SharePoint central administration is associated with the site in IIS. How to get all web applications in SharePoint farm? In many SharePoint environments, there are separate web applications for different functions. For example, one web application might be…

Read more

Delete a Web application using PowerShell in SharePoint 2016

To delete SharePoint Web application using PowerShell, use this cmdlet: Remove-SPWebApplication How to Delete a Web Application and All its zones? This deletes the entire Web application and its all zones: Remove Web Application Along with All its Databases and IIS Web Site: To remove the Web application along with its content…

Read more

Fix “This page can’t be displayed” “Internet Explorer Cannot Display This Page” Errors when Creating Web Application in SharePoint 2013

Web application creation process through SharePoint 2013 central administration site stopped in the middle with error messages “This page can’t be displayed”, “Internet Explorer Cannot Display This Page”!. However, I noticed that the IIS Web Sites, Application Pools, content databases are created! But there is no content inside the virtual directory in…

Read more

SharePoint 2013 Web Application Creation Stuck at “This shouldn’t take long”

Problem: Create a new web application from SharePoint 2013 Central Administration site got stuck at “This shouldn’t take long” message for a long time. Root cause: Insufficient Server memory! Solution: Try closing any open application in the server and free up server memory. Increase the “Shutdown Time Limit” value of Central Administration’s…

Read more

How to Change SharePoint Web Application Port?

While extending existing SharePoint web application to change its port is one option, there is an another workaround to change port of SharePoint web applications (Applies to both SharePoint 2010 / SharePoint 2007). How to change SharePoint web application port number? We can change the port of a SharePoint web application, by…

Read more

How to Rename SharePoint Web Application Name and URL?

We may want to change a web application name to make consistency in naming conventions or in some other scenarios. But I don’t find any SharePoint Central Administration options to rename a web application! So how to rename SharePoint 2013 web application Name? Well, PowerShell can help! Rename a SharePoint web application…

Read more

Add Web Application User Policy using PowerShell in SharePoint

SharePoint web application user policy is the ideal way to manage permissions at the web application level instead of individual site collections. E.g. You want to provide full control to your CIO to all site collections in a intranet web application. Web app policy is discussed in my another article: SharePoint web…

Read more