How to recursively delete all sites in a Site Collection except the root site

This script allows to recursively delete all the sites defined in a specific site collection. The script defines a custom function that performs the deleting of all the sites except the root site. All the sites to be deleted are gotten using the method GetSubwebsForCurrentUser()

 
 
 
 
 
5 Star
(1)
1,221 times
Add to favorites
SharePoint
5/10/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


Be the first to ask a question.