SOLVED

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

 

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

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 

 

You.....my friend....are awesome!!

 

Thanks man

#appreciate

1 best response

Accepted Solutions
best response confirmed by Navishkar Sadheo (Steel Contributor)
Solution

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

View solution in original post