0

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

0

Yep!

(Get-SPContentDatabase DatabaseName).Sites

That will output a list of URLs.

1
  • 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 that you have read and understand our privacy policy and code of conduct.

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