# RDSAgentDiagnostic Class

### NAMESPACE

RASAdminEngine.Core.OutputModels.AgentDiagnostic

### DESCRIPTION

RDS Agent Diagnostic

### INHERITED FROM

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

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                      | Name                      | Description |                                                 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ----------- | ----------------------------------------------- |
| [RASAgentDiagnosticType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASAgentDiagnosticType.html) | AgentDiagnosticType       |             |                                                 |
| String                                                                                                                                                    | AgentVersion              |             |                                                 |
| String                                                                                                                                                    | ConnectedBrokerIP         |             | Connected Broker IP.                            |
| Boolean                                                                                                                                                   | DEInstalled               |             |                                                 |
| [LogonStatus](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/LogonStatus.html)                       | LogonStatus               |             | Logon status.                                   |
| String                                                                                                                                                    | OSVersion                 |             |                                                 |
| Boolean                                                                                                                                                   | PendingReboot             |             | Whether the RDS is pending reboot or not.       |
| String                                                                                                                                                    | Server                    |             |                                                 |
| [DiagnosticState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DiagnosticState.html)               | State                     |             | RDS Agent Diagnostic State.                     |
| Boolean                                                                                                                                                   | TerminalServicesInstalled |             | Whether Terminal Services are installed or not. |
| UInt32                                                                                                                                                    | TerminalServicesPort      |             | Terminal Services port.                         |
| [UPDStatus](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UPDStatus.html)                           | UPDStatus                 |             | UPD status.                                     |
| UInt32                                                                                                                                                    | Version                   |             | Version.                                        |
| Boolean                                                                                                                                                   | WIAServiceEnabled         |             |                                                 |

### 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/rdsagentdiagnostic-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.
