The following relevance is working on QNA, but showing <error>
when used as property in the console.
tcp state of (sockets of network) whose (unique value of local port of it = 135) as string
The following relevance is working on QNA, but showing <error>
when used as property in the console.
tcp state of (sockets of network) whose (unique value of local port of it = 135) as string
What is the specific error that it is showing in the Console? (You can find out by hovering the mouse over the error, or opening the Computer document, and finding the property in the ‘Summary’ tab of the Computer).
As reference, the following post provides a lot of good information around troubleshooting Common Relevance Error Messages.
Try using the plural tcp states of
.
As written, you would get an error Singular expression refers to nonexistant object
if there are no sockets using port 135, or Singular expression refers to non-unique object
if there is more than one socket using the port.
When I use the plural statement, the property is showing multiple results, and when I hover to the result it shows the following:
LISTENING
LISTENING
Nice logo there @bigfixuser
You could concatenate the results into a single if you don’t want the hover over effect in the console.
concatenation "|" of (tcp states of (sockets of network) whose (unique value of local port of it = 135) as string)
How do you make it to display only a single “LISTENING” instead of “LISTENING|LISTENING” ?
Perhaps something like:
unique values of (tcp states of (sockets of network) whose (unique value of local port of it = 135) as string)