In a previous post, I presented a VBScript that displays the service assigned to common port numbers. You can also enter a search string to find any ports whose service (protocol) contain the search string.
This command gets the specified port number and displays the associated service
This command displays all ports and services that match the search string. Searchstring is case insensitive.