Enumzoneurls: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-12-11

Operation name: Enumzoneurls

Description

Lists all of the public URL and the zones to which they are mapped.

This property is equivalent to the Alternate Access Mappings page of the SharePoint Central Administration Web site.

For more information, see Configure alternate access mapping (Windows SharePoint Services).

Syntax

stsadm -o enumzoneurls

**   -url <URL name>**

**   -resourcename <non-Web application resource name>**

Parameters

Parameter name

Value

Required?

Description

url

A valid URL, such as http://server_name or http://server_name:1234

No. However, if the url or resourcename parameters are not specified, the result is the public alternate access mappings (AAM) URLs for all of the Web applications and external resources in your farm are returned. If the url parameter is specified, the result is the public AAM URLs for the Web application that is specified.

Note

If the url parameter is used, then the resourcename parameter cannot be used.

URL of the Web application. This parameter should be an existing AAM URL that is assigned to a Web application so that Stsadm can determine which Web application you are targeting. The URL can be a public URL or an internal URL from any zone associated with the targeted Web application.

resourcename

A valid name, such as "Resource1"

No. However, a resource name must already exist before this parameter can be used. You can create a new resource name using the Addzoneurl operation.

Note

If the resourcename parameter is used, then the url parameter cannot be used.

Outputs the AAM information for the external resource you specify.

This parameter is equivalent to the External Resource Mapping user interface setting that is located on the Create External Resource Mapping page of the SharePoint Central Administration Web site.

Remarks

In Windows SharePoint Services 2.0, an internal URL was referred to as an incoming URL and a public URL was referred to as an outgoing URL.

Examples

To display all public URLs for all Web applications and external resources in the farm, use the following syntax:

stsadm -o enumzoneurls

To display the public URLs of a specific Web application, use the following syntax:

stsadm -o enumzoneurls -url https://www.contoso.com

See Also

Concepts

Addzoneurl
Deletealternatedomain
Deletezoneurl
Addalternatedomain
Enumalternatedomains