Hello,
How to remove Drop Off Library and Hold Reports libraries from sites?
Not sure how to remove Hold Reports?
I turned off content organizer, but drop off libraries are still there.
I tried running this script, but did not remove them.
if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
Add-PSSnapin Microsoft.SharePoint.PowerShell;
}
Get-SPSite -Identity http://site | Get-SPWeb -Limit ALL | ForEach-Object {
Disable-SPFeature –Identity DocumentRouting –url $_.Url –Confirm:$false
$dropOffLibrary = $_.Lists["Drop Off Library"]
$dropOffLibrary.AllowDeletion = "True"
$dropOffLibrary.Update()
$dropOffLibrary.Delete()
}
Can you offer some suggestions?
Paul