Forum Discussion

Navishkar Sadheo's avatar
Navishkar Sadheo
Steel Contributor
May 14, 2020

Find IP in receive connector via Powershell

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 "10.10.16.119"}

 

  • 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 "10.10.16.119" | ft name, RemoteIPRanges

     

    Hope this helps,

    Mark

  • HidMov's avatar
    HidMov
    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 "10.10.16.119" | ft name, RemoteIPRanges

     

    Hope this helps,

    Mark

Resources