This leader we are going to take a look at how we can verify the size of the mailbox databases.
This is fairly simple and the information can be easily retrieved.
You don't get mailbox database.
Come on let this reader reveal.
Take a look at how to report on mailbox database size using the Exchange management shell for exchange
2006 team to retrieve the total size for each mailbox database.
Use the following command.
Get mailbox database destitutes and pipe it to a select object certain by name and database size their
output for this command will look like mine.
They've got name calling and database size going.
Now one run to get mailbox database commands that we can use the state or switch parameter to receive
additional information about the database such as Mount St. Louis Lebec upstaters and the total size
of the database as shown in the previous example to generate a report with this information simply pipe
the command to the experts this week a month left and specify the path and file name has shown that
misfeature to the IAC and show the example.
So we've got get mailbags mail box database with status parameter and pipe it to select object certain
by name server database size mounted state and pipe it to experts since we specify the paths to the
file.
In my case it's Seacole on backslash database report that says we lose time we are divided.
The server name and mounted information.
So we've got Saro name that the database is currently associated with and the MT status for their database.
When we are in the well for the database size you probably noticed that we see the total size of megabytes
and in parenthesis we see the value in bytes rather than just say in a single intermural for the total
size.
The database size property is of the type byte quantified size and we can use several methods provided
by this type to convert the value.
If all we want is to retrieve a numeric representation of the database size for example we can use the
two kilobyte to be to G-B and 2 TB methods of the database size subject to convert the well to kilobytes
megabytes gigabytes or terabytes.
For example we can type the following command.
Get mailbox database stateliest and pipe it to select object certain by name and add in a custom property
where we want our database size in megabytes.
As you can see this time we have created a calculated property for the database size and we are using
only 2 megabyte method to convert the value of the database.
The output we get from that command would look something like mine.
We get database name column and database size in megabytes.
This technique may be useful if you are looking to generate a basic reports that you don't need to have
all of the extra information that is returned by default.
For instance you may already know that your databases will always be in the range of hundreds of gigabytes.
You can simply use a calculated property as shown in the previous example and called to and call the
two G-B Masset for each database size Sobchak.