In Microsoft Exchange 2010 there was a very easy and powerfull tool, message tracking viewer. With this graphical tool you could track any message within your Exchange organization.
With Exchange 2013, the message tracking is not graphical anymore. So it’s not that easy to track some messages. The new way to go is Windows PowerShell! With the following example, you can easy create a overview of all the messages in your Exchange environment.
Get-MessageTrackingLog -ResultSize Unlimited -Start “Jul 15 2015″ | Out-GridView -Title “Exchange SMTP tracking log”
You can create a search filter based on, for example: EventID, Sender, Recipients or Subject.
When you’ve configured mailbox quota’s within your Exchange 2010/2013 environment, you’ve to check the configuration sometimes. Using Microsoft PowerShell, you can watch the current configuration within a few second, so this is extremely powerfull!! But, when you have to query for some specific user or result, it’s not that easy.
There’s a very usefull command within PowerShell that I’m using almost for all my scripts….Out-GridView. When using the parameter Out-GridView, the results are not showing within the PowerShell screen, but in a separate window! Within this window, you can very easy add some search criteria….for example: specific user, quota or an overview per database.
One requirement is that the Windows Feature “Windows PowerShell Integrated Scripting Environment (ISE)” is installed on the Exchange servers or mangement server from where you’re running the commands.
1.) Open the Exchange Management Shell (EMS)
2.) For an overview of the current mailbox quota, use the following command.
Get-Mailbox -Identity mswinkels | ft Name, IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota
3.) The results of this command is shown within the PowerShell window
4.) Now we’re running the same command, but replace “ft” (format-table) with “select” and add the parameter “Out-GridView”
Get-Mailbox -Identity mswinkels | Select Name, IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota | Out-GridView
5.) Now the results are in a separate window! Extreme usefull when you’ve have to search for a specific result or results.
When you setup coexistence with Microsoft Exchange 2010 and 2013, you can manager you mailbox databases in different ways. Though the Exchange Management Console (EMC), Exchange Control Panel (ECP) or with Exchange Management Shell (EMS). Today I had to configure a new Microsoft Exchange 2013 environment in a existing Exchange 2010 environment, so this is a coexistence infrastructure.
When I had installed the new Exchange 2013 servers, and I had started the Exchange Management Shell (EMS) from the new Exchange 2013 server, I saw only the new Exchange 2013 database. But wait a minute, I had also a copple of mailbox databases configured on my existing Exchange 2010 environment. In the Exchange Control Panel (ECP), all the databases are visseble, but why not in the Exchange Management Shell?
The solution is pretty easy. Within Exchange 2013 there’s a new parameter that you can use with the Get-MailboxDatabase command. So the new parameter is -IncludePreExchange2013. The whole command should be: Get-Mailboxdatabase -IncludePreExchange2013.
Microsoft has released the Microsoft Exchange Server 2013 Service Pack 1 Architecture Poster. This poster gives you an overview of all the components, load-balancing and possibilities of Exchange Server 2013. Nice to print on the wall in your studyroom 😉
You can download the Architecture poster here.