It iterates via every line with the output of the following command: netstat -aon @RodionSychev The powershell command is expecting you to interchange "portNumber" Along with the port variety you are trying to find. The mistake states that "portNumber" isn't really a quantity. An inexpensive matter you can do is https://bookmark-vip.com/story20475395/little-known-facts-about-find-weed-in-southampton