We apologize for any inconvenience, but we’ve made the site read only while we’re making some improvements.
# $Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration('http://xxxx/sites/xxx/')
$Admin.ClearMaintenanceMode()
Delete site collection by Remove-SPSite -identity -GradualDelete. or Restore-SPSite gettting error
<nativehr>0x80070003</nativehr><nativestack></nativestack>
DELETE THE SITE FIRST FORCEFULLY.
$siteUrl = "http://xxxx/sites/xxx"
$site = get-spsite $siteUrl
$siteId = $site.Id
$siteDatabase = $site.ContentDatabase
$siteDatabase.ForceDeleteSite($siteId, $false, $false)
# $Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration('http://xxxx/sites/xxx/')
$Admin.ClearMaintenanceMode()
Delete site collection by Remove-SPSite -identity -GradualDelete. or Restore-SPSite gettting error
<nativehr>0x80070003</nativehr><nativestack></nativestack>
DELETE THE SITE FIRST FORCEFULLY.
$siteUrl = "http://xxxx/sites/xxx"
$site = get-spsite $siteUrl
$siteId = $site.Id
$siteDatabase = $site.ContentDatabase
$siteDatabase.ForceDeleteSite($siteId, $false, $false)
No comments:
Post a Comment