Find IP in receive connector via Powershell

Steel Contributor

Hi All


Hope everyone is staying safe.


I was wondering if someone could possibly help me with the subject mentioned.


I tried using the command but it returns no results and I know that the particular IP I am querying is in one of the receive connectors.


Get-ReceiveConnector | fl Name, remoteipranges | select-Object where {$_RemoteIPRanges -eq ""}


2 Replies
best response confirmed by Navishkar Sadheo (Steel Contributor)

Hi @Navishkar Sadheo


Your command was nearly right - I've adjusted it to make it work on one of my Exchange boxes


Get-ReceiveConnector | where RemoteIPRanges -eq "" | ft name, RemoteIPRanges


Hope this helps,


@HidMov friend....are awesome!!


Thanks man