Wednesday, February 2, 2011

How to get mailbox size from Exchange 2010 and Exchange 2007

Another cool script that always is requested for ours managers. Get the MBX size from one Exchange mailbox server (CMS) whit a sorted output, you could switch the -server for -database .Form more info regard Get-MailboxStatistics 2007  & Get-MailboxStatistics 2010. Thanks God this  powershell query is useful for both Exchange version.


Enjoy!!

-Dario
diseño pagina web
desarrollo web
desarrollo web
cannaweed
comprar bisuteria
desarrollo web
diseño pagina web
empresas de trabajo
cannaweed
comprar bisuteria
desarrollo web
diseño pagina web
empresas de trabajo
psicologo on line
cannaweed
comprar bisuteria
desarrollo web
empresas de trabajo
link text
mejor seguro medico
psicologo on line
seguro familiar cannaweed comprar bisuteria desarrollo web empresas de trabajo link text mejor seguro medico proteinas masa muscular psicologo on line seguro familiar cannaweed comprar bisuteria cuidados en el embarazo desarrollo web empresas de trabajo link text mejor seguro medico proteinas masa muscular psicologo on line seguro familiar
booking system
cannaweed
cuidados en el embarazo
empresas de trabajo
link text
mejor seguro medico
proteinas masa muscular
psicologo on line
seguro familiar
Seguros vida

booking system
cannaweed
coches de segunda mano
cuidados en el embarazo
empresas de trabajo
link text
mejor seguro medico
psicologo on line
seguro familiar
Seguros vida
booking system
cannaweed
cestas y lotes navideños
coches de segunda mano
cuidados en el embarazo
empresas de trabajo
link text
mejor seguro medico
seguro familiar
Seguros vida

How to Get Exchange 2010 database Statistics - including DB White Space.

Hi all,
Here I go again (WhiteSnake 1984   :) )..copy/paste the below code in a ps1 file and you will get the white space, server name, database name, last full backup, user counts..etc

  $Databases = Get-MailboxDatabase -Status  
  foreach($Database in $Databases) {       
  $DBSize = $Database.DatabaseSize       
  $MBCount = (Get-Mailbox -Database $Database.Name).Count        
  $MBAvg = $DBSize.ToBytes() / $MBCount                     
 New-Object PSObject -Property @{            
 Server = $Database.Server.Name            
 DatabaseName = $Database.Name            
 LastFullBackup = $Database.LastFullBackup            
 MailboxCount = $MBCount           
 "DatabaseSize (GB)" = "{0:n2}" -f ($DBSize.ToBytes() / 1GB)           
  "AverageMailboxSize (MB)" = "{0:n2}" -f ($MBAvg / 1MB)           
  "WhiteSpace (MB)" = "{0:n2}" -f ($Database.AvailableNewMailboxSpace.ToBytes() / 1MB) 
 }     }


The output should be something like that:

Enjoy!

-Dario

Where is my rollup build number in Exchange 2010 and 2007?

Hey all!!!
this morning I've found a crazy thing about the Exchange built version, as you know simply with a Get-ExchangeServer | fl name,*version*, we can get

AdminDisplayVersion : Version 14.0 (Build 639.21)
ExchangeVersion     : 0.1 (8.0.535.0)


So if you see the table below you can see that this version matches with the RTM version.