Update sph-exchange-database-size.ps1
This commit is contained in:
parent
d60d2b4fc9
commit
7b628b12f3
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user