

![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] [-matchname name]  
```
## Arguments  
* **` type (optional) `** Specifies the type of the connection to list, which can be either RAS or RDP.  
* **` matchname (optional) `** If specified, only connections which contain the matchname value will be displayed.

## 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  
  AppServerClientCLI listconnections -matchname development



## See also:  
[addconnection](addconnection.md)    
[updateconnection](updateconnection.md)    
[duplicateconnection](duplicateconnection.md)    
[deleteconnection](deleteconnection.md)    
[getshareddevice](getshareddevice.md)    
[setshareddevice](setshareddevice.md)    
[clearshareddevice](clearshareddevice.md)  
