I wish to point out which the code connected previously mentioned and supplied by Microsoft will not be exact. Up-to-date with accurate PowerShell: @RodionSychev The powershell command is expecting you to replace "portNumber" Using the port quantity you are trying to find. The error states that "portNumber" isn't a quantity. https://helpmehigh.com/