From the course: PowerShell for Exchange Administration

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Managing Receive connectors

Managing Receive connectors

- [Instructor] Let's take a look at managing receive connectors in Exchange using PowerShell. The first thing is you either need a remote Exchange session or be running this in the Exchange management shell. Since I'm running the ICF, got an Exchange session open to my Exchange server. There under the computer name, you can see ex01.techsnipsdemo.org. First, to list out all of our receive connectors, we can just simply use the vanilla Get-ReceiveConnector mount. No parameters. You can see here that I've got the five default connectors when you install Exchange. Nothing fancy. But we can make this fancy. We can create receive connectors using the New-ReceiveConnector cmdlet. In this case, I'm creating an internal connector for my Exchange servers to talk to each other with. Here on line 28, I'm just calling it External Exchange. Line 30, internal equals true, and 29, TransportRole equals frontends. And then line 31, I'm specifying the remote IP ranges, and I'm doing this so that it…

Contents