Update sph-exchange-database-size.ps1

This commit is contained in:
Marius Pana 2015-01-06 16:28:53 +02:00
parent d60d2b4fc9
commit 7b628b12f3

View File

@ -14,6 +14,6 @@ $dbs = Get-MailboxDatabase -Status | ? {$_.Mounted -eq $True} | Sort Name
ForEach ($db in $dbs) {
$DBsize = $db.DatabaseSize.ToMB()
$DBfreeSpace = $db.AvailableNewMailboxSpace.ToMB()
Write-Host "<<<exchange_db_size>>>"
Write-Host "$($db.Name) $DBsize $DBfreeSpace"
}