Retrieves the agent diagnostic information about an installed RAS RD Session Host Agent.
The name of server from which to retrieve RD Session Host Agent information. This must be the actual server name used in the RAS farm.
Site ID from which to retrieve the specified RD Session Host Agent information (optional).
Success
Server name.
RAS Agent Diagnostic Type
Agent Version.
Operating System Version.
Whether Desktop Experience is installed or not.
Whether the WIA Service is enabled or not.
Diagnostic State Diagnostic State
Connected Broker IP.
Logon Status Logon Status
Whether the RDS is pending reboot or not.
Whether Terminal Services are installed or not.
Terminal Services port.
UPD Status UPD Status
Version.