SharePoint Fun
Monday, April 23, 2018
Get Site Collections Per Content Database
Script:
Get-SPContentDatabase
| %{Write-Output "- $($_.Name)”;
foreach
($site
in
$_.sites){write-Output $site.url}}
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment