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 30, 2015, 3:19 AM
Good