Here another powershell cmdlet to know list of site collections details in each content database using powershell cmdlets
for this i used the following powershell cmdlet
Get-SPContentDatabase | %{Write-Output "ContentDB is - $($_.Name)"{sites are}; foreach($site in $_.sites) {write-Output $site.url}{"-----"}}
and output will look like this
No comments:
Post a Comment