Service (-S) command

The -Service command specifies the service name that is used to map a TCP/IP port number. The -Service command is mutually exclusive with the -PORT command.

-SERVICE command syntax

Read syntax diagramSkip visual syntax diagram  -S  -SERVICE service_name
service_name
The service name that is used to map a TCP/IP port number.