Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
in SharePoint Server by 6 6 9

It seems I can't find the exteneded web application list in centeral administration in sharepoint 2016! so How to get list of extended sharepoint web application using powershell?

sharepoint web applications list

1 Answer

1 like 0 dislike
by 153 170 347
selected by
Best answer

List of extended web application in SharePoint 2016

You are right, the extended web applications are not listed at the Central Administration - Manage web application page.

Web Application List

However, you can get the list of extended web application in SharePoint 2016 through the below workarounds:

1) Get list of extended web application using Centeral Administration

  1. Open Central Administration > Application Management > Manage Web Application.
  2. In the Manage Web Application, only the main web application will be listed.
  3. Click on the main web application.
  4. From the above ribbon, click on "Delete" . (don't worry, we'll not delete it)
    Remove SharePoint from IIS web site
  5. In the dropdown list, you can find all the list of all extended web applications.

delete extended web application sharepoint 2016

2) Get list of extended web application using powershell

As per my humble knowledge, there is no also direct way to get list of all extended web applications using PowerShell, but we the below workaround would help you.

  1. Open SharePoint Management Shell as Administrator.
  2. Run the below cmdlet to get the main web application.

     $w = Get-SPWebApplication -Identity 'Web App URL'
  3. the below cmdlet would help you to list all alternate URLs with the corresponding zone, but you should be aware that not all URLs in alternate access mappings refer to extended web application!

  4. So to get the list of extended web applications, run the below cmdlet.

     $w.IisSettings.Values | select servercomment

The first one is by default is the main web application in the default zone

Get List of all extended web application SharePoint 2016

Note: the central administration method is the preferred one because it shows the extended web application and its zone on one screen!

See Also

If you don’t ask, the answer is always NO!