Archive for the ‘exchange management shell’ Category

EMS and how big is my database

Microsoft has provided a nice easy command to show you how large your current databases are,  this one line command can be pipped to a file or used in a report
Get-MailboxDatabase -Status | fl name,databasesizes
Name         : DB001
DatabaseSize : 141.8 GB (152,220,270,592 bytes)
 Name         : DB002
DatabaseSize : 98.17 GB (105,412,362,240 bytes)

Leave a Comment

User Count Per database

I just tossed togethor a quick little script that will easily display the database names and user count per database
 
//this scripts gets all the database names and counts the number of users per database
 $dblist=Get-MailboxDatabase
($dblist | %{write-host $_.name (get-mailbox -database $_.name).count})

Leave a Comment

Exchange 2010 Installing the mailbox role

Installing Exchange 2010 from the command line
In this post I will install Exchange from the command line to show the flexablitly.
I have extracted the bits to c:\ex2010\bits
Microsoft now includes a scripts folder with the extracted binaries which contains several xml files  that can be used to install all of the Windows required componets.
Lets start by creating a [...]

Comments (2)