Share via


Enumsites: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-07-12

Operation name: Enumsites

Description

Displays a list of sites that are hosted in a Web application. To find the sites that need to be upgraded, you can use the redirectedsites parameter to list all redirected sites on a Web application that is set up for gradual upgrade. You can use the list of sites generated by this operation to generate your site list XML file for the upgrade operation.

Syntax

stsadm.exe -o enumsites

**   -url <virtual server url>**

**   -showlocks**

**   -redirectedsites**

Parameters

Parameter name Value Required? Description

url

A valid URL, such as http://server_name

Yes

The URL of the Web application.

showlocks

<none>

Yes

Shows current lock status for sites.

redirectedsites

<none>

Yes

Lists all redirected sites on a version 3.0 Web application that is set up for gradual upgrade. Any site listed as redirected is not yet upgraded to the new version.