# SetHostname

Source: https://help.malighting.com/grandMA2/en/help/key_keyword_sethostname.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To get the SetHostname keyword in the command line, type **SetHostname** in the command line.

## Description

The SetHostname keyword, sets the station name of the console.

**Important:**\
The SetHostname keyword works only on grandMA2 consoles. It is not possible to change the station name in a grandMA2 onPC. The station name on a grandMA2 onPC is the computer name.To change the station name on a grandMA2 onPC you need to change the computer name.

The SetHostname keyword is a function keyword.

## Syntax

SetHostname "text"

## Example

Change the host name to grandMA2.

\[Channel]> SetHostname "grandMA2"