# service::get-service-name

Gets the name that identifies the specified service

### Usage

`string service::get-service-name(service, machineName)`

### Parameters

Name | Type | Description
--- | --- | ---
service | string | The short name that identifies the service to the system.
machineName | string | The computer on which the service resides.

### Return Value

The name that identifies the service.

### Requirements

Assembly: NAnt.Contrib.Tasks (0.85.2479.0)