# RDSHost Class

### NAMESPACE

RASAdminEngine.Core.OutputModels

### DESCRIPTION

Remote Desktop Server Host

### INHERITED FROM

[RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html)⇒[RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html)⇒RDSHost

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                              | Name                                | Description                                                                                                                                      |                                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
| String                                                                                                                                                            | AdminCreate                         | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                     |
| String                                                                                                                                                            | AdminLastMod                        | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                     |
| Boolean                                                                                                                                                           | AllowDragAndDrop                    |                                                                                                                                                  | Specifies if 'Allow local to remote drag and drop' option is enables or disabled. (deprecated)      |
| Boolean                                                                                                                                                           | AllowFileTransfer                   |                                                                                                                                                  | Specifies if 'Allow file transfer' option is enables or disabled. (deprecated)                      |
| Boolean                                                                                                                                                           | AllowRemoteExec                     |                                                                                                                                                  | Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.      |
| [AllowURLAndMailRedirection](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AllowURLAndMailRedirection.html) | AllowURLAndMailRedirection          |                                                                                                                                                  | Specifies the 'Allow Client URL/Mail Redirection'.                                                  |
| [AppPackagesAssigned](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AppPackagesAssigned.html)               | AppPackagesAssigned                 |                                                                                                                                                  | List Of Application Packages Assigned.                                                              |
| String                                                                                                                                                            | Description                         |                                                                                                                                                  |                                                                                                     |
| String                                                                                                                                                            | DirectAddress                       |                                                                                                                                                  | The direct address of the target RD Session Host server.                                            |
| UInt32                                                                                                                                                            | DisconnectActiveSessionAfter        |                                                                                                                                                  | Disconnect active session after (in seconds). 0 - Never.                                            |
| String                                                                                                                                                            | DiskPath                            |                                                                                                                                                  | Specifies the User Profile Disk path.                                                               |
| [DragAndDropModeValue](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DragAndDropModeValue.html)             | DragAndDropMode                     |                                                                                                                                                  | Specifies the mode the drag and drop feature will operate.                                          |
| Boolean                                                                                                                                                           | EnableAppMonitoring                 |                                                                                                                                                  | Specifies if 'Application Monitoring' option is enabled or disabled.                                |
| Boolean                                                                                                                                                           | Enabled                             |                                                                                                                                                  |                                                                                                     |
| Boolean                                                                                                                                                           | EnableDriveRedirectionCache         |                                                                                                                                                  | Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.                    |
| Boolean                                                                                                                                                           | EnableOptimization                  |                                                                                                                                                  |                                                                                                     |
| Boolean                                                                                                                                                           | EnablePrinting                      |                                                                                                                                                  | Specifies if Universal Printing on the RD Session Host server is Enabled or disabled.               |
| Boolean                                                                                                                                                           | EnableTWAIN                         |                                                                                                                                                  | Specifies if TWAIN (Universal Scanning) on the RD Session Host server is enabled or disabled.       |
| Boolean                                                                                                                                                           | EnableWIA                           |                                                                                                                                                  | Specifies if WIA (Universal Scanning) on the RD Session Host server is enabled or disabled.         |
| List\<String>                                                                                                                                                     | ExcludeFilePath                     |                                                                                                                                                  | Specifies the UPD 'Exclude' file paths.                                                             |
| List\<String>                                                                                                                                                     | ExcludeFolderPath                   |                                                                                                                                                  | Specifies the UPD 'Exclude' folder paths.                                                           |
| String                                                                                                                                                            | FileTransferLocation                |                                                                                                                                                  | Location where the File Transfer takes place, if and where it is allowed.                           |
| Boolean                                                                                                                                                           | FileTransferLockLocation            |                                                                                                                                                  | Lock Location where the File Transfer takes place, if and where it is allowed.                      |
| [FileTransferControlMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FileTransferControlMode.html)       | FileTransferMode                    |                                                                                                                                                  | Specifies if File Transfer option is allowed and if yes, which directions are allowed.              |
| [FSLogixSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FSLogixSettings.html)                       | FSLogix                             |                                                                                                                                                  | Specifies the 'FSLogix' object.                                                                     |
| UInt32                                                                                                                                                            | Id                                  |                                                                                                                                                  |                                                                                                     |
| List\<String>                                                                                                                                                     | IncludeFilePath                     |                                                                                                                                                  | Specifies the UPD 'Include' file paths.                                                             |
| List\<String>                                                                                                                                                     | IncludeFolderPath                   |                                                                                                                                                  | Specifies the UPD 'Include' folder paths.                                                           |
| Boolean                                                                                                                                                           | InheritDefaultAgentSettings         |                                                                                                                                                  | If true, default agent settings will be inherited.                                                  |
| Boolean                                                                                                                                                           | InheritDefaultAppPackageSettings    |                                                                                                                                                  | If true, default app package settings will be inherited.                                            |
| Boolean                                                                                                                                                           | InheritDefaultDesktopAccessSettings |                                                                                                                                                  | If true, default desktop access settings will be inherited.                                         |
| Boolean                                                                                                                                                           | InheritDefaultOptimizationSettings  |                                                                                                                                                  | If true, default optimization settings will be inherited.                                           |
| Boolean                                                                                                                                                           | InheritDefaultPrinterSettings       |                                                                                                                                                  | If true, default printer settings will be inherited.                                                |
| Boolean                                                                                                                                                           | InheritDefaultUserProfileSettings   |                                                                                                                                                  | If true, default User Profile settings will be inherited.                                           |
| UInt32                                                                                                                                                            | LogoffDisconnectedSessionAfter      |                                                                                                                                                  | Logoff disconnected session after (in seconds). 0 - Never; 1 - Immediate.                           |
| [ManageRDPTransportProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ManageRDPTransportProtocol.html) | ManageRDPTransportProtocol          |                                                                                                                                                  | Manage RDP transport protocol.                                                                      |
| UInt32                                                                                                                                                            | MaxSessions                         |                                                                                                                                                  | Maximum number of session a RDS Host can have.                                                      |
| UInt32                                                                                                                                                            | MaxUserProfileDiskSizeGB            |                                                                                                                                                  | Specifies the max user profile disk size (in GB).                                                   |
| [ImageOptimization](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ImageOptimization.html)                   | Optimization                        |                                                                                                                                                  | Image Optimization Object.                                                                          |
| UInt32                                                                                                                                                            | Port                                |                                                                                                                                                  | The port number of RD Session Host agent.                                                           |
| UInt32                                                                                                                                                            | PreferredBrokerId                   |                                                                                                                                                  | The preferred Connection broker ID.                                                                 |
| [PrnNameFormat](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PrnNameFormat.html)                           | PrinterNameFormat                   |                                                                                                                                                  | Specifies the 'Printer Name Format' option.                                                         |
| UInt32                                                                                                                                                            | RASTemplateId                       |                                                                                                                                                  | The RDSH RAS Template ID.                                                                           |
| Boolean                                                                                                                                                           | RemoveClientNameFromPrinterName     |                                                                                                                                                  | Specifies if 'Remove client name from printer name' option is enabled or disabled.                  |
| Boolean                                                                                                                                                           | RemoveSessionNumberFromPrinterName  |                                                                                                                                                  | Specifies if 'Remove session number from printer name' option is enabled or disabled.               |
| Boolean                                                                                                                                                           | RestrictDesktopAccess               |                                                                                                                                                  | Specifies if 'Restrict direct desktop access to the following users' option is enabled or disabled. |
| List\<String>                                                                                                                                                     | RestrictedUsers                     |                                                                                                                                                  | Specifies the list of users for the RestrictDesktopAccess option (the option should be enabled).    |
| [UPDRoamingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UPDRoamingMode.html)                         | RoamingMode                         |                                                                                                                                                  | Specifies the 'UPD Roaming Mode' option.                                                            |
| String                                                                                                                                                            | Server                              |                                                                                                                                                  |                                                                                                     |
| UInt32                                                                                                                                                            | SiteId                              |                                                                                                                                                  |                                                                                                     |
| Boolean                                                                                                                                                           | SupportShellURLNamespaceObjects     |                                                                                                                                                  | Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.                   |
| [UserProfileTech](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UserProfileTech.html)                       | Technology                          |                                                                                                                                                  | Specifies the 'User Profile Technology' value.                                                      |
| DateTime                                                                                                                                                          | TimeCreate                          | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                     |
| DateTime                                                                                                                                                          | TimeLastMod                         | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                     |
| [UPDMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UPDMode.html)                                       | UPDMode                             |                                                                                                                                                  | Specifies the 'User Profile Disk Mode' option.                                                      |
| Boolean                                                                                                                                                           | UseRemoteApps                       |                                                                                                                                                  | Specifies if 'Use RemoteApps if available' option is enables or disabled.                           |

### PUBLIC METHODS

| Type    | Name                   | Description                                                                                                                                                    |   |
| ------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj) | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)    | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()         | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()             |                                                                                                                                                                |   |
| String  | ToString ()            |                                                                                                                                                                |   |


---

# 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/class/rdshost-class.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.
