I deleted nearly 200 mailboxes from one exchange store. After that I
dismounted the store and ran eseutil. But after this not getting how
to check amount of whitespace capacity i have in this store.
I ran a script to check this space but this is not returning any data
for whitespace. Can any one help me in knowing this whitespace
capacity? I could not locate 1221 even also.
script i used to fetch whitespace capacity :
----------------------------------------
Function Get-DatabaseStatistics {
$Databases = Get-MailboxDatabase -Status
foreach($Database in $Databases) {
$DBSize = $Database.DatabaseSize
New-Object PSObject -Property @{
Server = $Database.Server.Name
DatabaseName = $Database.Name
($Database.AvailableNewMailboxSpace.ToMB)
}
}
}
----------------------------------------
save this as whitespace.ps1
open powershell and source it [PS] C:\>. C:\whitespace.ps1
run it in powershell [PS] C:\>get-databasestatistics
and the result was :
Server WhiteSpace
(MB) DatabaseName
------
--------------- ------------
exchserver1
Mailbox Database
exchserver1
Mailbox Datastore2
exchserver1
Mailbox DataStore9
exchserver1
Mailbox Datastore5
exchserver2
Mailbox Database
exchserver2
Mailbox Datastore2
exchserver2
Mailbox Datastore3
exchserver2
Mailbox_Datastore4
exchserver2
TOI Crest
exchserver3
Mailbox Database
Regards,