# getsmartsizing

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

## AppserverClient Command Line Interface

### getsmartsizing

retrieves smart-sizing runtime settings for an RDP connection session.

**Category: RDP-Connections**

```
AppServerClientCLI getsmartsizing -id rdp:5  
```

### Arguments

* **`id (mandatory)`** Specify the RDP connection ID to use.

### Return codes:

ok - Command was successful\
NotAvailable - Communication with the client backend failed, ensure that the client is running\
InvalidId - Invalid connection, object or session ID\
InvalidArgs - Some arguments are missing or invalid\
InvalidState - Command failed due to invalid state, refer to the command for further information\
Exception - System problem

### Examples:

AppServerClientCLI getsmartsizing -id rdp:5

### Notes:

Can be used with RDP connections only, and the session must be running.

### See also:

[connectrdpobj](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/connectrdpobj)\
[disconnectrdpobj](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/disconnectrdpobj)\
[disconnectallrdp](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/disconnectallrdp)\
[setsmartsizing](https://docs.parallels.com/landing/ras-windows-cli-guide/commands/setsmartsizing)
