

# close-servers
<a name="close-server"></a>

Closes one or more Amazon DCV servers. When you close a Amazon DCV server, you make it unavailable for Amazon DCV session placement. You can't create Amazon DCV sessions on closed servers. Closing a server ensures that no sessions are running on it and that users can't create new sessions on it.

**Topics**
+ [Synopsis](#synopsis)
+ [Options](#options)
+ [Example](#example)

## Synopsis
<a name="synopsis"></a>

```
close-servers
--server-ids {{<value>}}
[--force]
```

## Options
<a name="options"></a>

**`--server-ids`**  
The comma-separated list of IDs of the Amazon DCV servers to close.  
Type: String  
Required: Yes

**`--force`**  
Operation that forces the server to close. By default, this is disabled.  
Type: Boolean  
Required: No

## Example
<a name="example"></a>

```
dcvsm close-servers --server-ids "server123,server456"
```