# RDSCmd Enum

### NAME

RDSCmd

### DESCRIPTION

RDS Command

| Values                        | Description                                  |
| ----------------------------- | -------------------------------------------- |
| EnableLogons                  | Enable logons on the RDSH                    |
| DrainUntilReboot              | Drain unit reboot on tbe RDSH                |
| DrainUntilRestart             | Deprecated: use Drain Until Reboot instead.  |
| Drain                         | Drain unit restart on tbe RDSH               |
| DisableLogonsAndReconnections | Disable logons and reconnections on tbe RDSH |
| InstallTSRole                 | Install TS Role on the RDSH                  |
| Reboot                        | Reboot the RDSH                              |
| CancelSchedule                | Cancel Schedule                              |
| CancelPendingReboot           | Deprecated: use CancelSchedule instead.      |
| CancelDisabledState           | Deprecated: use CancelSchedule instead.      |
| Shutdown                      | Shutdown the RDSH                            |

#### References to Commands

| [Invoke-RASRDSHostCmd](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Invoke-RASRDSHostCmd.html) |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/enums/rdscmd-enum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
