I had a recent fun time arguing with the firewall guys that they were not properly opening the ports that I had requested and that I really needed it done right.
Finally, I decided that I just needed to do the scans myself and give them a quick report of what was responding properly and what was not.
- Download the portqry.exe and copy it to each server.
- Put together a list of the Lync servers in a file named LyncServers.txt that contains the server names.
- Put together a list of the ports and protocols for the ports in a file named LyncServerPortNumbers.txt.
- Write a quick script to run on each server.
After that, it is just a matter of running the script on each server and collecting the data. Of course, the best feeling was sending the list of results with a From ServerX test for each server to the firewall team so they could see what they missed.
Here is a link to the files: Test-LyncPorts.zip.