Enumsites: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

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.