Posts Tagged ‘EMS’

Invisible Send Connector Exchange 2010

March 9, 2016 Leave a comment

Made a small discovery the other day. Next to the visible Receive and Send Connectors, there are also Invisible Send Connectors available on the Exchange server. The one I found is called Intra-Organization Send Connector, which is used to transport messages within the organisation, between the Hub transport serves, Edge Transport Server and old Exchange servers. It is not visible in the console or when you use Get-SendConnector command.

Here’s the command to configure protocol logging for Intra-Organization Send Connector:

Set-TransportServer “TRANSPORT SERVER NAME” -IntraOrgConnectorProtocolLoggingLevel verbose



How to Enable Remote Archiving Using Exchange Management Shell

May 7, 2015 Leave a comment

PowerShell (EMS) command to enable remote archiving after the mailbox has been migrated to Office 365.
Run the following command on your On-premises Exchange 2010 or Exchange 2013 server.

Enable-RemoteMailbox  -Identity MailboxName –Archive
Enable-RemoteMailbox  -Identity John.Smith –Archive



How to Change Logging Levels for Exchange 2007 Processes

May 11, 2009 Leave a comment

First, lets check what are the current logging levels for the processes. To do that use the following command in Exchange Management Shell:

Get-EventLogLevel –Server:Exch1

To change a logging level use the following command:

Set-EventLogLevel –Identity:”ECIdParameter” –Level “Lowest | Low | Medium | High | Expert”

To get a full list of processes that are with configurable event logging levels go to this website.


Exchange 2007 CSR Command Creator

April 28, 2009 Leave a comment

I needed to great new certificate for my Exchange 2007 server. As I was not that familiar with Exchange Management Shell at that time, I decided to dig around to get some help. Here’s what I found. These pages are quite easy to understand so I will not rewrite them. Instead I’ll try to post a small explanation with the link:

* First I suggest to read little about SAN (Subject Alternative Names) and SAN Certificates. You can obtain the needed information from here.
* Here is an explanation how to use CSR tool to generate a code for your certificate request.
* This is the DigiCert’s Exchange 2007 CSR Tool. You can use it to generate a command and then copy it to Exchange Management Shell.
* Here is a small how-to about how to install your certificate to your Exchange 2007 server using Exchange Management Shell.
* Exchange 2007 has IIS7 installed as well + IIS7 Management Tools (if I remember correctly). You can use this page to get some info how to install it using IIS7 Management Tools.


How to Enable Anti-Spam Functionality on a Hub Transport Server

April 28, 2009 1 comment

Let’s say your company is small or midsize business and you don’t have enough resources to set up the secondary Exchange 2007 server with Edge Transport role. There is a way how to enable anti-spam options on a server that has Hub Transport role installed. To do this, first you need to check that your account has proper permissions. Now if you got the permissions, here’s the script you need to run Install-AntispamAgents.ps1. This script is located here:
%system drive%/Program Files\Microsoft\Exchange Server\Scripts, and you must run it from that folder. To run this script use the following command:


After the script has run restart the MS Exchange Transport service. You can do it with this command:

Restart-Service MSExchangeTransport

One more thing, All the commands mentioned above are meant to be run in Exchange Management Shell. So if you got MS Exchange 2007 installed on Windows Server 2008 and both Windows Powershell and Exchange Management Shell then use the last one to run these commands.

If you want to read more about it then here’s the link from technet.