Desde SQL
SELECT d.name,
ROUND(SUM(mf.size) * 8 / 1024, 0) Size_MBs
FROM
sys.master_files mf
INNER JOIN sys.databases d ON d.database_id =
mf.database_id
WHERE d.database_id > 4 -- Skip de las bases de
sistema
GROUP BY d.name
ORDER BY d.name
Desde PowerShell
Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label
="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
No hay comentarios:
Publicar un comentario