Remove Extended Zone using PowerShell in SharePoint 2013

In this post, we will discuss how to remove Extended Zone using PowerShell in SharePoint 2013.

Also check out:

Failed to create the configuration database error in SharePoint 2013

Creating Custom List definition using Visual Studio 2010 for SharePoint 2010

Create Page Layout using SharePoint Designer 2010

Here we will remove the intranet zone using this PowerShell command.

Get-SPWebApplication http://webapplicationurl | Remove-SPWebApplication -Zone “Intranet”

If the error message happen like below given the message —

“Remove-SPWebApplication : An object of the type Microsoft.SharePoint.Administration.SPIisWebsiteUnprovisioningJobDefinition named “Unprovisioning SecretZone” already exists under the parent Microsoft.SharePoint.Administration.SPWebService named “”. Rename your object or delete the existing object.

At line:1 char:24
+ Remove-SPWebApplication <<<< http://webapplicationurl -Zone “intranet”
+ CategoryInfo : InvalidData: (Microsoft.Share…PWebApplication:
SPCmdletRemoveSPWebApplication) [Remove-SPWebApplication], SPDuplicateObjectException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveSPWebApplication”


Resolve this error using these Steps:
1. Go to Central Administration
2. Click on Monitoring link
3. Go to Review job definition’s.
4. Now Scroll to the bottom and click the forward arrow.
5. Now you look for “Unprovisioning web application”.
6. Now you delete it.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Navneet Singh

I am Navneet Singh, Working at C3it software solutions pvt. ltd. in Pune. My core skills are SharePoint 2013, Office 365, SharePoint 2010, SharePoint Designer, SharePoint Designer Workflow, Nintex Workflow, Infopath, Webpart, CSOM/SSOM, Power-shell, C#, ASP.NET and SQL Server.

View all posts by Navneet Singh →