Get List of Site Collection under Content Database
-
06-02-2021 - |
문제
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.
해결책
Yep!
(Get-SPContentDatabase DatabaseName).Sites
That will output a list of URLs.
제휴하지 않습니다 sharepoint.stackexchange