Share via

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


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.


stsadm.exe -o enumsites

**   -url <virtual server URL>**

**   -showlocks**

**   -redirectedsites**


Parameter name Value Required? Description


A valid URL, such as http://server_name


The URL of the Web application.




Shows current lock status for sites.




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.