> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/hostpoolagentsettings.md).

# HostPoolAgentSettings

## NAMESPACE

RASAdminEngine.Core.OutputModels.HostPool

## DESCRIPTION

Azure Virtual Desktop Host Pool Agent Settings

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

[AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md)

⇒

HostPoolAgentSettings

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                      | Name                            | Description                                                                                                                                                                                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Boolean                                                                                                                                   | AllowRemoteExec                 | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.                                                              |
| [AllowURLAndMailRedirection](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/allowurlandmailredirection.md) | AllowURLAndMailRedirection      | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies the 'Allow Client URL/Mail Redirection'. Nullable\<Boolean> AppMonitor Specifies if 'Allow Application Monitoring' option is enabled or disabled. |
| UInt32                                                                                                                                    | DisconnectActiveSessionAfter    | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Disconnect active session after (in seconds). 0 for 'Never'.                                                                                                |
| [DragAndDropModeValue](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/draganddropmodevalue.md)             | DragAndDropMode                 | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies the mode the drag and drop feature will operate.                                                                                                  |
| Boolean                                                                                                                                   | EnableDriveRedirectionCache     | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.                                                                            |
| Boolean                                                                                                                                   | EnableZOrder                    | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if the 'Enable Z-Order' option is enabled or disabled. (Experimental)                                                                             |
| String                                                                                                                                    | FileTransferLocation            | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Location where the File Transfer takes place, if and where it is allowed.                                                                                   |
| Boolean                                                                                                                                   | FileTransferLockLocation        | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Lock Location where the File Transfer takes place, if and where it is allowed.                                                                              |
| [FileTransferControlMode](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/filetransfercontrolmode.md)       | FileTransferMode                | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if File Transfer option is allowed and if yes, which directions are allowed.                                                                      |
| UInt32                                                                                                                                    | LogoffDisconnectedSessionAfter  | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Logoff disconnected session after (in seconds). 0 for 'Never'; 1 for 'Immediate'.                                                                           |
| Boolean                                                                                                                                   | ManageRDPShortpath              | Specifies if 'Allow RDP Shortpath' option is enabled or disabled.                                                                                                                                                                                                                          |
| [ManageRDPTransportProtocol](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/managerdptransportprotocol.md) | ManageRDPTransportProtocol      | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Manage RDP transport protocol.                                                                                                                              |
| UInt32                                                                                                                                    | MaxRDPShortpathPort             | The maximum RDP Shortpath Port.                                                                                                                                                                                                                                                            |
| UInt32                                                                                                                                    | MinRDPShortpathPort             | The minimum RDP Shortpath Port.                                                                                                                                                                                                                                                            |
| UInt32                                                                                                                                    | SessionReadinessTimeout         | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Session readiness timeout (in seconds).                                                                                                                     |
| Boolean                                                                                                                                   | SupportShellURLNamespaceObjects | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.                                                                           |
| Boolean                                                                                                                                   | UseRDPShortpath                 | Specifies if 'Allow RDP Shortpath' option is enabled or disabled.                                                                                                                                                                                                                          |
| Boolean                                                                                                                                   | UseSmallerPortRange             | Specifies if 'Use Smaller Port' option is enabled or disabled.                                                                                                                                                                                                                             |

## PUBLIC METHODS

| Type                                                     | Name                                                                                                                             | Description                                                                                                                            |
| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                    | CompareTo (Object obj)                                                                                                           | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Void                                                     | CopyFrom ([AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md) other) | Inherited from [AgentSettings](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/agentsettings.md)         |
| Boolean                                                  | Equals (Object obj)                                                                                                              | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                    | GetHashCode ()                                                                                                                   | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                     | GetType ()                                                                                                                       | String                                                                                                                                 |
| ToString ()                                              | ### References to Types                                                                                                          |                                                                                                                                        |
| -------------------------------------------------------- |                                                                                                                                  |                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/hostpoolagentsettings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
