Friday, January 18, 2013

Remove corrupt website from Sharepoint

I had an old website in our Sharepoint site that no one used since the dark ages. It has still followed me in all my upgrades from 3.0 to 2007 to 2010. But now with my 2013 upgrade it finally said no to me.

So to remove a site, which cannot be removed from the normal webgui administration in  sharepoint 2010? 

Use Powershell command below. It saves the day, now can I finally upgrade my bloody site?

/> Remove-spweb “http://mysite.mycompany.com/subsite/thatsucks

References:

http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=291

http://technicallead.wordpress.com/2011/10/17/how-to-delete-a-sharepoint-site-that-is-being-naughty/

No comments: