To get the orphan objects on the specific content database please execute the below commands:
- $CDB = Get-SPContentDatabase -identity "GUID of the content database"
- $CDB.Repair($false) # $false to return the orphan objects
- $CDB.repair($true)
- $dbs = get-spwebapplication "Webapplication URL"
- $dbs.ContentDatabases


Vijay SPosted Apr 29, 2015, 11:19 PM EDT
Good