# listconnections

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

## AppserverClient Command Line Interface

### listconnections

provides information on existing connections.

**Category: Connections**

```
AppServerClientCLI listconnections [-type ras/rdp]  
```

### Arguments

* **`type (optional)`** Specifies the type of the connection to list, which can be either RAS or RDP.

### Return codes:

ok - Command was successful\
NotAvailable - Communication with the client backend failed, ensure that the client is running\
Exception - System problem

### Examples:

AppServerClientCLI listconnections\
AppServerClientCLI listconnections -type ras\
AppServerClientCLI listconnections -type rdp

### See also:

[addconnection](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/addconnection)\
[updateconnection](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/updateconnection)\
[duplicateconnection](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/duplicateconnection)\
[deleteconnection](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/deleteconnection)\
[getshareddevice](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/getshareddevice)\
[setshareddevice](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/setshareddevice)\
[clearshareddevice](https://docs.parallels.com/landing/ras-windows-cli-guide/v20/commands/clearshareddevice)
