CLI: Delete Site and it’ content

You can delete (unextend) a site from iis and also delete associated database using the following command line

STSADM.exe -o unextendvs -url http://%computername%:80 -deletecontent -deleteiissites

Related posts:

  1. CLI: Changing the Site Collection Administrator
  2. CLI: Unextend / Extend Web Application
  3. How to set restrictions on a site collection
  4. STSADM: Create MySite
  5. QOD: Navigation Breadcrumb For My Site

Comments are closed.