looping Get-ReceiveConnector to grab multiple receive connectors
Solution 1:
This isn't too tough, it's Powershell 101 really. If you're going to be doing a bunch of Exchange work, you'll definitely need to learn PS front to back.
$conns = Get-ReceiveConnector
foreach ($conn in $conns) {$conn.name }
If you need to limit it to only a specific server, do this
$conns = Get-ReceiveConnector -server MyServerName
foreach ($conn in $conns) {$conn.name }
In the examples, above, I'm just listing the connector name in the body of the loop - the statement in between the curly brackets. You would replace that with whatever it is that you want to do with each connector.