SharePoint 2010/2013: Deleting Specific Site Collections using Powershell
If you need to delete certain sites collection based on some criteria inside a specific web application then here are couple of simple powershell command which will aid you in doing just that using wild cards characters.
Reference:
http://sharepoint.stackexchange.com/questions/111263/powershell-delete-remove-all-site-collection-under-a-spesific-managed-path
Get-SPSite "http://de-oss-102:14435/Sites/00*" -Limit ALL Get-SPSite "http://de-oss-102:14435/Sites/00*" -Limit ALL | Remove-SPSite -Confirm:$false
Reference:
http://sharepoint.stackexchange.com/questions/111263/powershell-delete-remove-all-site-collection-under-a-spesific-managed-path
Comments
Post a Comment