PortQueryUI Config.xml File for Lync

At work we often use the Port Querycommand to test connectivity to services running on servers. We have a bunch of firewalls scattered all over the place and most of the time issues with Lync are due to firewall updates not having been made. The advantage to PortQry is that it can probe for UDP ports as opposed to just TCP ports that the built-in Windows Telnet client can test.

I don’t have time to memorize the command line switches for every command I run. Fortunately, there is also a GUI version of PortQry called PortQueryUI. (Note that Microsoft documentation refers to this as PortQryUI but the name of the executable is PortQueryUI. For readability purposes, I will use the latter.) Aside from not having to memorize any command line parameters, PortQueryUI let’s you easily run standard tests by selecting them from a drop down list.

PortQueryUI 1

The entries in the list are defined by an XML file named config.xml. If you open this file you will see the service lists followed by the relevant ports to query. For example, this is the entry for SQL Service:

<Service Name=”SQL Service”>

<Port Name=”ms-sql-s service” Protocol=”UDP” Value=”1434″/>

<Port Name=”ms-sql-s service” Protocol=”TCP” Value=”1433″/>

</Service>

It’s easy enough to figure out how to add your own entries. Simply create a new Service Name entry and under that define the ports you want to query. So I went ahead and created a bunch of these Service Names for all manner of Lync communication – 22 in total. I based my work off the very useful Windows Phone app Lync Protocol&Ports.

Click here to download the config.xml and then just copy it over the config.xml that comes with PortQueryUI.

Most likely I missed some ports and some options. Feel free to leave a comment and I’ll update the file with the corrections.

Advertisements

~ by flinchböt on 2013/05/10.

12 Responses to “PortQueryUI Config.xml File for Lync”

  1. […] Microsoft Network Monitor 3.4 PortQryUI – User Interface for Port Scanner [added, 11.05.13] Download Lync Config Fiddler – Web debug tool Lync 2013 Centralised Logging UI [new, […]

  2. […] https://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/ […]

  3. Nice. Might need to add this to my Set-Cs2013Features.ps1 script at http://www.ehloworld.com/1697

  4. […] https://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/ […]

  5. […] “Custom PortQryUI” option added per (https://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/#comment-1679) […]

  6. […] 17. Custom PortQryUI […]

  7. Awesome job Flinch. Its been a while since iv used PortQry, its just become sexy again 🙂

  8. I released a new version of my script, which includes an automated installation of this. Nice work!

  9. […] report, other then just replace the existing config.xml file with the Lync file, or get it from the flinchbot site. Below show some screen shots of what the tool […]

  10. […] https://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/ […]

  11. […] Microsoft PortQry […]

  12. […] The first simple test is to use PortQryUI to ensure the port is open between to Central Management Database. Flinchbot Blog Post has everything you need to be able to test this, head over to https://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/ […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: