Hello all,
I've a requirement to delete approx 30 site collections on a SharePoint farm. Instead of removing one site collection at a time is there a way to delete all the site collections at one go.
I've used the below script to achieve it, however it didn't work..
#Define the Array with List of sites
$sites = Import-Csv ".\sites.csv"
Remove-SPSite -Identity $sites -Confirm -GradualDelete
It would be greate if anyone could hep me with this.
-Yash
Yashwanth Mannem










