Is there a way I could view the list of Site Collection under a specific Content Database?

Doing it one-by-one on Central Admin is not desirable since there's a lot.

1 Answer 1



(Get-SPContentDatabase DatabaseName).Sites

That will output a list of URLs.

  • Thanks Trevor! that did the trick!
    – mjnp
    Mar 21, 2019 at 0:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.