Exchange 2010 get information about mailbox size

Information about the amount of space that occupies a particular mailbox, we can easily preview the Exchange Management Console.

Unfortunately, if we want to get more information about the mailboxes, or mailboxes that meet that special condition, the realization of such a task in the EMC will be very time consuming.

In such a case comes to us from the console using the Exchange Management Shell (EMS) in which the PowerShell commands, we can get a lot of interesting information on the mailboxes located on Microsoft Exchange.

Display all information about the mailbox:

Get-MailboxStatistics john.smith@domena.com | FL

Continue reading

Print Friendly

Exchange Server 2010 Monitoring Management Pack SCOM re-released 14.03.0038.004

New Exchange 2010 Management Pack was released on 08/31/2012.

New version has number 14.03.0038.004

This management pack includes scripts and rules to effectively monitor Exchange 2010 and report on performance, availability, and reliability of its server roles.

After users compains last Management Pack for Exchange 2010 was pulled, we mention about this here:

Microsoft Exchange 2010 Management Pack 14.3.38.2 has been pulled

The changes in the updated Exchange 2010 Monitoring Management Pack include:

  • Fixes to Alerts – at times two events were logged for the same event.
  • Ensure Correct Values are read.
  • Log the event on local server where the TS is running.

Here is a location of the updated Management Pack:

Exchange Server 2010 Monitoring Management Pack download

Print Friendly

Exchange 2010 Powershell how to count mailboxes

We often encounter the need to determine how many mailboxes in a given time is in different databases or around the Microsoft Exchange Server.

Such information can be easily obtained by using the Exchange Management Shell cmdlets for Exchange 2010.

Examples of use:

Determination of the number of all mailboxes in an Exchange Organization

 

(Get-Mailbox -ResultSize unlimited).count

ResultSize option we use if our Exchange environment has more than 1000 mailboxes

Number of mailboxes in different databases:

Get-Mailbox -ResultSize unlimited | Group-Object -Property:Database | Select-Object Name,Count

Continue reading

Print Friendly

Resume-MailboxDatabaseCopy for all databases on server

Sometimes (for example, after a small disk array failure ;)) you need to resume failed and suspended database copy. We can do that with this  command: resume-mailboxdatabasecopy .

But what if there is a lot of databases ?

In this case we can use this command to resume replication for all databases on specific server:

get-mailboxdatabasecopystatus -server “server_name” | resume-mailboxdatabasecopy

Also for suspending replication we can use this command:

get-mailboxdatabasecopystatus -server “server_name” | suspend-mailboxdatabasecopy

Print Friendly

Search-Mailbox search and remove emails

Each administrator of the Microsoft Exchange Server had certainly met or will meet with a situation where you have to find a specific email in the mailboxes, and sometimes even remove it.

In Microsoft Exchange 2010 to search mailboxes, we can successfully use the Search-Mailbox command.

But first make sure that we can run the command Mailbox-Search and
New-MailboxImportRequest
.
If you try to run the New-MailboxImportRequest and reveive the message:

 “The term ‘New-MailboxImportRequest’ is not recognized as the name of a cmdlet”

 

This means that we do not have appropriate access rights.

Giving the appropriate permissions:

In Active Directory, create a universal security group such ExchangeImportExport_Allowed

Continue reading

Print Friendly

Exchange 2010 PowerShell script count items in mailbox folder

As is known, together with new versions of Microsoft Exchange are changing also limits the number of elements in a single folder mailbox.

For each version of Exchange, Microsoft recommends not to exceed the following values of the number of items in the folder:

Exchange 200/2003        5 000
Exchange 2007               20 000
Exchange 2010             100 000

Number of items contained in folders determines the performance of the server and connections to the mailbox, can also cause problems with the use of mail clients.

Continue reading

Print Friendly

Microsoft Exchange 2010 what affects the size of the mailbox database

The Microsoft Exchange database size depends mainly on the number and size of the mailboxes located at the mailbox database.

Size of boxes, which will be located in a given database, we can predict and control so that we know about what size will depend on our database.

Unfortunately, there is still a couple of other factors that could cause sudden expansion of the size of the database or its continued growth.
Below we will present on what you should look in the settings database.

The main parameter determining the maximum size of mailboxes in the database is Quota.
Quotas can be set at the mailbox database and then will apply to all mailboxes in the database if individual quota is set on mailbox.

The quotas can view the values and set in the Exchange Management Console in the properties of the database, we can also be changed using the PowerShell command:

Displays the current quota limits:

 Get-MailboxDatabase "MailboxDatabase" | Select *Quota*

Continue reading

Print Friendly

GUI Message Tracking Log script to search messages

If anyone reads often the Message-Tracking Logs with PowerShell or Command Message Tracking tool, you may be interested in the script that has recently appeared on TechNet.

The script is written in PowerShell but have graphical GUI overlay.

With the script, we are able to search for specific messages to all servers with the role of HT, and not just one in a given search.

We can identify the sender, recipient, date range to search and EventID.

Continue reading

Print Friendly

Microsoft Exchange 2013 New PowerShell cmdlets

List of new PowerShell commands (cmdlets), released with Microsoft Exchange 2013 we published in our post on Exchange Blog here:
Exchange 2013 Powershell

You can now find in internet a detailed list of new commands and a description of their use.
This list is shown below:

Continue reading

Print Friendly

Exchange 2013 Powershell EMS

In Microsoft Exchange 2013 Preview, PowerShell still plays an important role.
In new edition PowerShell for Exchange 2013 is based on PowerShell v3 and Management Framework 3.0 and in addition it has been enhanced with new cmdlets.
Even in Microsoft Exchange 2010 PowerShell allow administrators to perform many complicated things that were not available in the graphics console EMC. That allows us to create scripts to facilitate the daily administrative work.

By using PowerShell version 3.0 the new Exchange server support gained by using the commands on the functionality and simplicity.
For version 2.0 to search a box for a particular look like this:

 Get-Mailbox | Where {$_.Name –like “*smith*”}

now in PowerShell version 3.0 it looks:

Get-Mailbox | where name –like “*smith*”

 

Continue reading

Print Friendly