# RDSHost

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

Remote Desktop Server Host

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

[RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj)

⇒

RDSHost

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                                             | Name                                | Description                                                                                                                                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                                                           | AdminCreate                         | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who created the object.                                                       |
| String                                                                                                                                                           | AdminLastMod                        | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who last modified the object.                                                 |
| 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/allowurlandmailredirection) | AllowURLAndMailRedirection          | Specifies the 'Allow Client URL/Mail Redirection'.                                                                                                                                                                                 |
| [AppPackagesAssigned](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/apppackagesassigned)               | AppPackagesAssigned                 | List Of Application Packages Assigned.                                                                                                                                                                                             |
| Boolean                                                                                                                                                          | ChangeDirectAddress                 | Whether the direct address differs to the RD Session Host server.                                                                                                                                                                  |
| String                                                                                                                                                           | Description                         | Description of the server.                                                                                                                                                                                                         |
| 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/draganddropmodevalue)             | DragAndDropMode                     | Specifies the mode the drag and drop feature will operate.                                                                                                                                                                         |
| Boolean                                                                                                                                                          | EnableAppMonitoring                 | Specifies if 'Application Monitoring' option is enabled or disabled.                                                                                                                                                               |
| Boolean                                                                                                                                                          | Enabled                             | Whether the server is enabled or not.                                                                                                                                                                                              |
| 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.                                                                                                                                        |
| Boolean                                                                                                                                                          | EnableZOrder                        | Specifies if the 'Enable Z-Order' option is enabled or disabled. (Experimental) 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/filetransfercontrolmode)       | FileTransferMode                    | Specifies if File Transfer option is allowed and if yes, which directions are allowed.                                                                                                                                             |
| [FSLogixSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/fslogixsettings)                       | FSLogix                             | Specifies the 'FSLogix' object.                                                                                                                                                                                                    |
| UInt32                                                                                                                                                           | Id                                  | ID of the object. 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. Nullable\<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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/managerdptransportprotocol) | 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/imageoptimization)                   | Optimization                        | Image Optimization Object.                                                                                                                                                                                                         |
| UInt32                                                                                                                                                           | Port                                | The port number of RD Session Host agent.                                                                                                                                                                                          |
| UInt32                                                                                                                                                           | PreferredBrokerId                   | The preferred Connection broker ID.                                                                                                                                                                                                |
| [PrnNameFormat](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/prnnameformat)                           | 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/updroamingmode)                         | RoamingMode                         | Specifies the 'UPD Roaming Mode' option.                                                                                                                                                                                           |
| String                                                                                                                                                           | Server                              | Server name.                                                                                                                                                                                                                       |
| UInt32                                                                                                                                                           | SiteId                              | ID of the site.                                                                                                                                                                                                                    |
| Boolean                                                                                                                                                          | SupportShellURLNamespaceObjects     | Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.                                                                                                                                                  |
| [UserProfileTech](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/userprofiletech)                       | Technology                          | Specifies the 'User Profile Technology' value.                                                                                                                                                                                     |
| DateTime                                                                                                                                                         | TimeCreate                          | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was created.                                                  |
| DateTime                                                                                                                                                         | TimeLastMod                         | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was last modified.                                            |
| [UPDMode](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/updmode)                                       | 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://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Boolean                                                                                                                                                               | Equals (Object obj)        | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Int32                                                                                                                                                                 | GetHashCode ()             | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Type                                                                                                                                                                  | GetType ()                 | String                                                                                                                                                        |
| ToString ()                                                                                                                                                           | ### References to Commands |                                                                                                                                                               |
| ------------------------------------------------------------------------                                                                                              |                            |                                                                                                                                                               |
| [Get-RASRDSHostStatus](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Get-RASRDSHostStatus.md) |                            |                                                                                                                                                               |
| [New-RASPubRDSDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubRDSDesktop.md) |                            |                                                                                                                                                               |
| [Remove-RASRDSHost](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASRDSHost.md)       |                            |                                                                                                                                                               |
